From: Antoine Musso Date: Thu, 12 Aug 2004 11:29:07 +0000 (+0000) Subject: fix language file checking X-Git-Tag: 1.5.0alpha1~2401 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=9a0a67f6c78f079dbbb07c942dced81c7f3d718d;p=lhc%2Fweb%2Fwiklou.git fix language file checking --- diff --git a/maintenance/DiffLanguage.php b/maintenance/DiffLanguage.php index b015591d72..359403267d 100644 --- a/maintenance/DiffLanguage.php +++ b/maintenance/DiffLanguage.php @@ -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 {