|
...
|
...
|
@@ -20,7 +20,7 @@ class Template extends Common{ |
|
|
|
if($_SERVER['REMOTE_ADDR']=="127.0.0.1")
|
|
|
|
$path = "/Applications/XAMPP/xamppfiles/htdocs/dashboard/images/";
|
|
|
|
else
|
|
|
|
$path = "/alidata/www/dc-api/public/tables/batchPicsyn/";
|
|
|
|
$path = "/alidata/www/dc-api/public/tables/syntemp/";
|
|
|
|
|
|
|
|
$uppath = explode('/',input('folder'));
|
|
|
|
$leve = count($uppath)-1;
|
|
...
|
...
|
@@ -60,7 +60,7 @@ class Template extends Common{ |
|
|
|
if($_SERVER['REMOTE_ADDR']=="127.0.0.1")
|
|
|
|
$path = "/Applications/XAMPP/xamppfiles/htdocs/dashboard/images/";
|
|
|
|
else
|
|
|
|
$path = "/alidata/www/dc-api/public/tables/batchPicsyn/";
|
|
|
|
$path = "/alidata/www/dc-api/public/tables/syntemp/";
|
|
|
|
|
|
|
|
$file=$path.input('post.filename');
|
|
|
|
//首先判断是图片还是路径
|
...
|
...
|
|