dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7308698
)
unitialized variable
author
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 4 Dec 2005 14:49:26 +0000
(14:49 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 4 Dec 2005 14:49:26 +0000
(14:49 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
2f6b992
..
21207d5
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-1328,6
+1328,7
@@
function getLanguageList() {
$d = opendir( "../languages" );
while( false !== ($f = readdir( $d ) ) ) {
+ $m = array();
if( preg_match( '/Language([A-Z][a-z_]+)\.php$/', $f, $m ) ) {
$code = str_replace( '_', '-', strtolower( $m[1] ) );
if( isset( $wgLanguageNames[$code] ) ) {