Index: trunk/phase3/languages/Language.php |
— | — | @@ -2509,8 +2509,8 @@ |
2510 | 2510 | */ |
2511 | 2511 | static function getCodeFromFileName( $filename, $prefix = 'Language', $suffix = '.php' ) { |
2512 | 2512 | $m = null; |
2513 | | - preg_match( '/' . preg_quote( $prefix ) . '([A-Z][a-z_]+)' . |
2514 | | - preg_quote( $suffix ) . '/', $filename, $m ); |
| 2513 | + preg_match( '/' . preg_quote( $prefix, '/' ) . '([A-Z][a-z_]+)' . |
| 2514 | + preg_quote( $suffix, '/' ) . '/', $filename, $m ); |
2515 | 2515 | if ( !count( $m ) ) { |
2516 | 2516 | return false; |
2517 | 2517 | } |