Parcourir la source

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

wufeng il y a 2 ans
Parent
commit
d68c755416
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
     }
 }