mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-17 15:02:48 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
1d7820987b
commit
9aada113cd
1
application/admin/controller/system/SystemAttachment.php
Normal file → Executable file
1
application/admin/controller/system/SystemAttachment.php
Normal file → Executable file
@ -24,7 +24,6 @@ class SystemAttachment extends AuthController
|
||||
if($res->status==false && $res->error){
|
||||
exit(json_encode(['state'=>$res->error]));
|
||||
}
|
||||
$fileInfo = $res->fileInfo->getinfo();
|
||||
//产品图片上传记录
|
||||
$fileInfo = $res->fileInfo->getinfo();
|
||||
SystemAttachmentModel::attachmentAdd($res->fileInfo->getSaveName(),$fileInfo['size'],$fileInfo['type'],$res->dir,'',0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user