X2 远程附件空间本地化设置方法
DZ!2.0 远程附件本地化设置方法首先把远程附件取回本地,然后上传至网站目录对应文件夹。
进入后台 --> 全局 --> 上传设置 --> 远程附件 --> 启用远程附件 --> 否 --> 提交.
最后执行SQL数据库修改语句
update `***_forum_attachment_#` set remote=replace(remote,'1','0');
上面 *** 为数据库表前缀, # 为数据库分表(在2.0版附件数据库已经分表,分为 0-9)
默认为:update `pre_forum_attachment_0` set remote=replace(remote,'1','0');
update `pre_forum_attachment_1` set remote=replace(remote,'1','0');
update `pre_forum_attachment_2` set remote=replace(remote,'1','0');
update `pre_forum_attachment_3` set remote=replace(remote,'1','0');
update `pre_forum_attachment_4` set remote=replace(remote,'1','0');
update `pre_forum_attachment_5` set remote=replace(remote,'1','0');
update `pre_forum_attachment_6` set remote=replace(remote,'1','0');
update `pre_forum_attachment_7` set remote=replace(remote,'1','0');
update `pre_forum_attachment_8` set remote=replace(remote,'1','0');
update `pre_forum_attachment_9` set remote=replace(remote,'1','0');
页:
[1]