您的位置:首页 > 数据库

DISCUZ开启远程附件升级SQL命令

2011-03-28 10:36 155 查看
如果你的discuz原来附件是在本地,现在开启了远程附件,请遵循以下做法
首先,把附件目录转移到远程服务器上
其次,在PHPMYADMIN里运行如下命令(把PRE换成你的表前缀)

view plaincopy to clipboardprint?
update pre_forum_attachment set remote = '1' where remote = '0';
update pre_portal_attachment set remote = '1' where remote = '0';
update pre_home_pic set remote = '1' where remote = '0';
update pre_home_album set picflag = '2' where picflag = '1';
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: