Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -20,7 +20,7 @@ class Template extends Common{ | @@ -20,7 +20,7 @@ class Template extends Common{ | ||
| 20 | if($_SERVER['REMOTE_ADDR']=="127.0.0.1") | 20 | if($_SERVER['REMOTE_ADDR']=="127.0.0.1") |
| 21 | $path = "/Applications/XAMPP/xamppfiles/htdocs/dashboard/images/"; | 21 | $path = "/Applications/XAMPP/xamppfiles/htdocs/dashboard/images/"; |
| 22 | else | 22 | else |
| 23 | - $path = "/alidata/www/dc-api/public/tables/batchPicsyn/"; | 23 | + $path = "/alidata/www/dc-api/public/tables/syntemp/"; |
| 24 | 24 | ||
| 25 | $uppath = explode('/',input('folder')); | 25 | $uppath = explode('/',input('folder')); |
| 26 | $leve = count($uppath)-1; | 26 | $leve = count($uppath)-1; |
| @@ -60,7 +60,7 @@ class Template extends Common{ | @@ -60,7 +60,7 @@ class Template extends Common{ | ||
| 60 | if($_SERVER['REMOTE_ADDR']=="127.0.0.1") | 60 | if($_SERVER['REMOTE_ADDR']=="127.0.0.1") |
| 61 | $path = "/Applications/XAMPP/xamppfiles/htdocs/dashboard/images/"; | 61 | $path = "/Applications/XAMPP/xamppfiles/htdocs/dashboard/images/"; |
| 62 | else | 62 | else |
| 63 | - $path = "/alidata/www/dc-api/public/tables/batchPicsyn/"; | 63 | + $path = "/alidata/www/dc-api/public/tables/syntemp/"; |
| 64 | 64 | ||
| 65 | $file=$path.input('post.filename'); | 65 | $file=$path.input('post.filename'); |
| 66 | //首先判断是图片还是路径 | 66 | //首先判断是图片还是路径 |
-
Please register or login to post a comment