|
@@ -402,11 +402,10 @@ class util {
|
402
|
402
|
$dir = (substr(PHP_OS, 0, 3) == 'WIN') ? $path."\\".$langs_dir : $path."/".$langs_dir;
|
403
|
403
|
$dir = str_replace("admin\\", "", $dir);
|
404
|
404
|
$dir = str_replace("admin/", "", $dir);
|
405
|
|
- $i=0;
|
|
405
|
+ $i=0;
|
406
|
406
|
$cls_lang_dir = @ dir($dir);
|
407
|
407
|
while (($directory = $cls_lang_dir->read()) !== false) {
|
408
|
408
|
if($directory != "." && $directory != "..") {
|
409
|
|
-
|
410
|
409
|
$dir2 = (substr(PHP_OS, 0, 3) == 'WIN') ? $path."\\".$langs_dir."\\".$directory : $path."/".$langs_dir."/".$directory;
|
411
|
410
|
$dir2 = str_replace("admin\\", "", $dir2);
|
412
|
411
|
$dir2 = str_replace("admin/", "", $dir2);
|
|
@@ -669,4 +668,4 @@ class util {
|
669
|
668
|
}
|
670
|
669
|
}
|
671
|
670
|
}
|
672
|
|
-?>
|
|
671
|
+?>
|