fix language file checking
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 12 Aug 2004 11:29:07 +0000 (11:29 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 12 Aug 2004 11:29:07 +0000 (11:29 +0000)
maintenance/DiffLanguage.php

index b015591..3594032 100644 (file)
@@ -60,7 +60,7 @@ if ( isset($args[0]) ) {
                $input = strtoupper(substr($input,0,1)).strtolower(substr($input,1));
                
                # try to get the file           
-               if( file_exists("../languages/Language$input.php") ) {
+               if( file_exists("$IP/languages/Language$input.php") ) {
                        $loop = false;
                        $lang = $input;
                } else {