找到以下文件
source\function\function_block.php在这个文件中的function block_template($bid)方法中最后面找到
- $template = preg_replace('/\s*\[(order\d+)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
- $template = preg_replace('/\s*\[(index\d+)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
复制代码
修改为
- $template = preg_replace('/\s*\[(order\d*)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
- $template = preg_replace('/\s*\[(index\d*)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
复制代码
简单的说就是把加号替换成*号就可以了 |
上一篇: DX2.5论坛安装插件出现:对不起,您安装的不是正版应用的解决方式下一篇: 关于近期用户密码、邮箱被盗修改事件解决方案
|