PESCMS 2.1 更新头像解决办法

使用pescms无法更新头像,直接说结果吧。。

修改/Expand/UEupload/UEController.php文件 

case 'uploadimage':
                //D:\code\projects\Public\Theme\assets\ueditor\dialogs\attachment\images  图片地址
                break;

替换为

case 'uploadimage':
                //D:\code\projects\Public\Theme\assets\ueditor\dialogs\attachment\images  图片地址
                //break; 

修改/Expand/UEupload/Uploader.php文件 

$this->stateMap['ERROR_TYPE_NOT_ALLOWED'] = iconv('unicode', 'utf-8', $this->stateMap['ERROR_TYPE_NOT_ALLOWED']);

注释掉即可

//$this->stateMap['ERROR_TYPE_NOT_ALLOWED'] = iconv('unicode', 'utf-8', $this->stateMap['ERROR_TYPE_NOT_ALLOWED']); 

 

你可能感兴趣的:(PESCMS 2.1 更新头像解决办法)