mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-06 13:43:02 +08:00
优化安装包
This commit is contained in:
@ -168,7 +168,7 @@ class ThemeController extends CommonController
|
||||
}
|
||||
|
||||
// 开始删除主题
|
||||
if(DelDirFile($this->html_path.$id, true) && DelDirFile($this->static_path.$id, true))
|
||||
if(\Library\FileUtil::UnlinkDir($this->html_path.$id) && \Library\FileUtil::UnlinkDir($this->static_path.$id))
|
||||
{
|
||||
$this->ajaxReturn(L('common_operation_delete_success'));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user