Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -176,6 +176,7 @@ class Template extends Common{ | @@ -176,6 +176,7 @@ class Template extends Common{ | ||
| 176 | }*/ | 176 | }*/ |
| 177 | 177 | ||
| 178 | public function index(){ | 178 | public function index(){ |
| 179 | + //$path = $this->publicpath.'images/'.input('folder').'/'; ///Applications/XAMPP/xamppfiles/htdocs/dashboard/images/ | ||
| 179 | $path = "/alidata/www/dc-api/public/tables/batchPicsyn"; | 180 | $path = "/alidata/www/dc-api/public/tables/batchPicsyn"; |
| 180 | 181 | ||
| 181 | $uppath = explode('/',input('folder')); | 182 | $uppath = explode('/',input('folder')); |
| @@ -212,7 +213,7 @@ class Template extends Common{ | @@ -212,7 +213,7 @@ class Template extends Common{ | ||
| 212 | } | 213 | } |
| 213 | 214 | ||
| 214 | public function PackzipDownload(){ | 215 | public function PackzipDownload(){ |
| 215 | - $path = "/alidata/www/dc-api/public/tables/batchPicsyn"; | 216 | + $path = "/alidata/www/dc-api/public/tables/batchPicsyn/"; |
| 216 | $file=$path.input('post.filename'); | 217 | $file=$path.input('post.filename'); |
| 217 | //首先判断是图片还是路径 | 218 | //首先判断是图片还是路径 |
| 218 | if($this->isImage($file)!==false){ | 219 | if($this->isImage($file)!==false){ |
-
Please register or login to post a comment