Commit bc6c326f87fb8b9f96a70091085f4458d740b8d5

Authored by u123231312
1 parent df60a5ff

no message

... ... @@ -176,6 +176,7 @@ class Template extends Common{
}*/
public function index(){
//$path = $this->publicpath.'images/'.input('folder').'/'; ///Applications/XAMPP/xamppfiles/htdocs/dashboard/images/
$path = "/alidata/www/dc-api/public/tables/batchPicsyn";
$uppath = explode('/',input('folder'));
... ... @@ -212,7 +213,7 @@ class Template extends Common{
}
public function PackzipDownload(){
$path = "/alidata/www/dc-api/public/tables/batchPicsyn";
$path = "/alidata/www/dc-api/public/tables/batchPicsyn/";
$file=$path.input('post.filename');
//首先判断是图片还是路径
if($this->isImage($file)!==false){
... ...