Преглед изворни кода

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng пре 2 година
родитељ
комит
d68c755416
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -979,7 +979,7 @@ if (!function_exists('excelSaveFile')) {
         if (!file_exists($file_dir)) throw new Exception('压缩包文件不存在');
 
 //        return $file_dir;
-        return 'home/' . str_replace(root_path() . "public/", '', $file_dir);
+        return str_replace(root_path() . "public/", '', $file_dir);
     }
 }