Index: trunk/phase3/config/index.php |
— | — | @@ -1328,6 +1328,7 @@ |
1329 | 1329 | |
1330 | 1330 | $d = opendir( "../languages" ); |
1331 | 1331 | while( false !== ($f = readdir( $d ) ) ) { |
| 1332 | + $m = array(); |
1332 | 1333 | if( preg_match( '/Language([A-Z][a-z_]+)\.php$/', $f, $m ) ) { |
1333 | 1334 | $code = str_replace( '_', '-', strtolower( $m[1] ) ); |
1334 | 1335 | if( isset( $wgLanguageNames[$code] ) ) { |