Index: branches/new-installer/phase3/includes/installer/WebInstaller.php |
— | — | @@ -77,10 +77,6 @@ |
78 | 78 | * @return array New session array |
79 | 79 | */ |
80 | 80 | function execute( $session ) { |
81 | | - //@todo decide if we really need this error handling |
82 | | - global $wgShowSQLErrors, $wgShowExceptionDetails, $wgShowDBErrorBacktrace; |
83 | | - $wgShowSQLErrors = $wgShowExceptionDetails = $wgShowDBErrorBacktrace = true; |
84 | | - |
85 | 81 | $this->session = $session; |
86 | 82 | if ( isset( $session['settings'] ) ) { |
87 | 83 | $this->settings = $session['settings'] + $this->settings; |
Index: branches/new-installer/phase3/config/new-index.php |
— | — | @@ -11,6 +11,10 @@ |
12 | 12 | $GLOBALS['wgShowExceptionDetails'] = true; |
13 | 13 | // Don't break forms |
14 | 14 | $GLOBALS['wgExternalLinkTarget'] = '_blank'; |
| 15 | + |
| 16 | + // Extended debugging. Maybe disable before release? |
| 17 | + $GLOBALS['wgShowSQLErrors'] = true; |
| 18 | + $GLOBALS['wgShowDBErrorBacktrace'] = true; |
15 | 19 | } |
16 | 20 | |
17 | 21 | chdir( ".." ); |