summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-08-10 11:08:21 -0300
committerYaco <franco@reevo.org>2019-08-10 11:08:21 -0300
commit3b5c8a3faee9f7c88daad8ff7b9f4a1c7df12834 (patch)
tree7f2a2df72c33afce67d02e9b0c770fb06ae98388 /etc
parentd895d4e6cc5c3a125f1057af77fbb5f064bb1de6 (diff)
agrega bloque para habilitar debugging
Diffstat (limited to 'etc')
-rwxr-xr-xetc/global_config.php.sample13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/global_config.php.sample b/etc/global_config.php.sample
index 54d9841d..71c9eeb1 100755
--- a/etc/global_config.php.sample
+++ b/etc/global_config.php.sample
@@ -26,4 +26,17 @@ $wgAuthenticationTokenVersion = "1";
$wgUpgradeKey = "";
$wgPageFormsGoogleMapsKey = "";
+
+####### DEBUG
+if( strpos( $REEVO_URL, 'test' ) !== false) {
+ $wgShowExceptionDetails = true;
+ $wgDebugComments = true;
+ $wgDebugLogFile = "../../log/wiki/mediawiki.log";
+ $wgShowSQLErrors = true;
+ $wgDebugDumpSql = true;
+ $wgShowExceptionDetails= true;
+ $wgShowDBErrorBacktrace = true;
+}
+
+
?>