Index: trunk/phase3/includes/Setup.php |
— | — | @@ -155,7 +155,9 @@ |
156 | 156 | if( !( empty( $memlimit ) || $memlimit == -1 ) ) { |
157 | 157 | if( wfParseMemoryLimit( $memlimit ) < wfParseMemoryLimit( $wgMemoryLimit ) ) { |
158 | 158 | wfDebug( "\n\nRaise PHP's memory limit from $memlimit to $wgMemoryLimit\n" ); |
| 159 | + wfEnableWarnings() |
159 | 160 | ini_set( "memory_limit", $wgMemoryLimit ); |
| 161 | + wfDisableWarnings() |
160 | 162 | } |
161 | 163 | } |
162 | 164 | |