Enable production PHP settings
This commit is contained in:
parent
37db1342b5
commit
9b0793eac7
1 changed files with 4 additions and 0 deletions
|
@ -156,11 +156,15 @@ enableSemantics( getenv("SEMANTIC_URL") );
|
|||
# Set Subpages on
|
||||
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
||||
|
||||
ini_set('display_errors', '0');
|
||||
ini_set('display_startup_errors', '0');
|
||||
# Enable long error messages
|
||||
if (getenv("DEBUG")) {
|
||||
$wgShowExceptionDetails = true;
|
||||
$wgShowDBErrorBacktrace = true;
|
||||
$wgShowSQLErrors = true;
|
||||
ini_set("display_errors", 1);
|
||||
ini_set('display_startup_errors', '1');
|
||||
}
|
||||
|
||||
# Local configuration for MediaWiki
|
||||
|
|
Loading…
Reference in a new issue