own3mall 9 лет назад
Родитель
Сommit
7365556f27
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/extras/extras.php

+ 1 - 1
modules/extras/extras.php

@@ -350,7 +350,7 @@ function exec_ogp_module()
 				$langDirs = array_filter(glob('lang/*'), 'is_dir');
 				$langDirs = array_filter(glob('lang/*'), 'is_dir');
 				foreach($langDirs as $langDir){
 				foreach($langDirs as $langDir){
 					if($langDir != ".." && $langDir != "."){
 					if($langDir != ".." && $langDir != "."){
-						$langDirPath = "lang/" . $langDir . "/modules/" . strtolower($folderToDelete) . ".php";
+						$langDirPath = $langDir . "/modules/" . strtolower($folderToDelete) . ".php";
 						if(file_exists($langDirPath)){
 						if(file_exists($langDirPath)){
 							recursiveDelete($langDirPath);
 							recursiveDelete($langDirPath);
 						}
 						}