diff options
author | Yaco <franco@reevo.org> | 2019-08-10 11:08:21 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-08-10 11:08:21 -0300 |
commit | 3b5c8a3faee9f7c88daad8ff7b9f4a1c7df12834 (patch) | |
tree | 7f2a2df72c33afce67d02e9b0c770fb06ae98388 /etc/global_config.php.sample | |
parent | d895d4e6cc5c3a125f1057af77fbb5f064bb1de6 (diff) |
agrega bloque para habilitar debugging
Diffstat (limited to 'etc/global_config.php.sample')
-rwxr-xr-x | etc/global_config.php.sample | 13 |
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; +} + + ?> |