Explorar el Código

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

wufeng hace 2 años
padre
commit
d68c755416
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }
 }