Compare commits
1 commit
002cb4b37c
...
9b0793eac7
Author | SHA1 | Date | |
---|---|---|---|
9b0793eac7 |
1 changed files with 3 additions and 3 deletions
|
@ -156,14 +156,14 @@ enableSemantics( getenv("SEMANTIC_URL") );
|
||||||
# Set Subpages on
|
# Set Subpages on
|
||||||
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
||||||
|
|
||||||
error_reporting(0);
|
ini_set('display_errors', '0');
|
||||||
|
ini_set('display_startup_errors', '0');
|
||||||
# Enable long error messages
|
# Enable long error messages
|
||||||
if (getenv("DEBUG")) {
|
if (getenv("DEBUG")) {
|
||||||
$wgShowExceptionDetails = true;
|
$wgShowExceptionDetails = true;
|
||||||
$wgShowDBErrorBacktrace = true;
|
$wgShowDBErrorBacktrace = true;
|
||||||
$wgShowSQLErrors = true;
|
$wgShowSQLErrors = true;
|
||||||
error_reporting(E_ALL);
|
ini_set("display_errors", 1);
|
||||||
ini_set('display_errors', 1);
|
|
||||||
ini_set('display_startup_errors', '1');
|
ini_set('display_startup_errors', '1');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue