diff --git a/conf/LocalSettings.php b/conf/LocalSettings.php index f6a0646..7133414 100644 --- a/conf/LocalSettings.php +++ b/conf/LocalSettings.php @@ -156,11 +156,15 @@ enableSemantics( getenv("SEMANTIC_URL") ); # Set Subpages on $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