信呼v2.5.2版本

This commit is contained in:
雨中磐石
2023-01-11 17:58:56 +08:00
parent db405df1ed
commit c0d49fd5ce
26 changed files with 276 additions and 188 deletions

View File

@@ -95,7 +95,8 @@ class sysfileClassAction extends Action
if($str=$this->iscaozuo())return $str;
$path = $this->jm->base64decode($this->get('path'));
if(isempt($path))return '无效路径';
if(!file_exists($path))return '文件不存在';
if(!file_exists(ROOT_PATH.'/'.$path))return '文件不存在';
$pathinfo=pathinfo($path);
$filename = $pathinfo['basename'];