Commit 6ae1279bb7546acd53c5739842426b851051d047

Authored by u123231312
1 parent 7d7157ca

no message

... ... @@ -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');
//首先判断是图片还是路径
... ...