马上注册,结交更多好友,享用更多功能,让你轻松玩转合天下互动社区。
您需要 登录 才可以下载或查看,没有帐号?中文注册
x
最近帮朋友Discuz x2升级Discuz x2.57月1日版本后出现帖子内所有图片不现在,郁闷了半天,才找了原因,现在给大家讲解与解决下该问题解决办法:
1、打开sourceclasshelperhelper_seo.php文件
2、找到以下代码
- $content = preg_replace(\"/()|(.*?)|()|([attach](d+)[/attach])/ies\", \"helper_seo::base64_transform(\'encode\', \'\', \'123\', \'\')\", $content);
复制代码
3、修改为以下代码
- $content = preg_replace(\"/()|(.*?)|()|([attach](d+)[/attach])/ies\", \"helper_seo::base64_transform(\'encode\', \'\', \'1234\', \'\')\", $content);
复制代码
即可解决以上问题 |