Compare commits
1 commit
002cb4b37c
...
13601d32f5
Author | SHA1 | Date | |
---|---|---|---|
13601d32f5 |
1 changed files with 11 additions and 11 deletions
|
@ -7,6 +7,17 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_reporting(0);
|
||||||
|
# Enable long error messages
|
||||||
|
if (getenv("DEBUG")) {
|
||||||
|
$wgShowExceptionDetails = true;
|
||||||
|
$wgShowDBErrorBacktrace = true;
|
||||||
|
$wgShowSQLErrors = true;
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
ini_set('display_errors', 1);
|
||||||
|
ini_set('display_startup_errors', '1');
|
||||||
|
}
|
||||||
|
|
||||||
## Uncomment this to disable output compression
|
## Uncomment this to disable output compression
|
||||||
# $wgDisableOutputCompression = true;
|
# $wgDisableOutputCompression = true;
|
||||||
|
|
||||||
|
@ -156,17 +167,6 @@ enableSemantics( getenv("SEMANTIC_URL") );
|
||||||
# Set Subpages on
|
# Set Subpages on
|
||||||
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
||||||
|
|
||||||
error_reporting(0);
|
|
||||||
# Enable long error messages
|
|
||||||
if (getenv("DEBUG")) {
|
|
||||||
$wgShowExceptionDetails = true;
|
|
||||||
$wgShowDBErrorBacktrace = true;
|
|
||||||
$wgShowSQLErrors = true;
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
ini_set('display_errors', 1);
|
|
||||||
ini_set('display_startup_errors', '1');
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local configuration for MediaWiki
|
# Local configuration for MediaWiki
|
||||||
ini_set( 'max_execution_time', 1000 );
|
ini_set( 'max_execution_time', 1000 );
|
||||||
ini_set('memory_limit', '-1');
|
ini_set('memory_limit', '-1');
|
||||||
|
|
Loading…
Reference in a new issue