本帖最后由 chrita 于 2014-6-14 11:32 编辑
解决方案網路找的,試囉~~
[引用 - 陈学虎 : http://chenxuehu.com/article/2014/06/2739.html ]
DISCUZ 3.2 无法切换宽屏和窄屏,这个问题,只能说DISCUZ的工程师真的太粗心了,废话少说,直接解决方案吧。
找到 template/default/common 下的 header.htm 第13行:
<pre class="brush: php; title: ; notranslate" title=""><link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto?{VERHASH}' />修改为:
<link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto.css?{VERHASH}' />
我的文件是在第25行,
修改为:
<link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto.css?{VERHASH}' />
確實是少了一個 .css,還真是太粗心.
多提一下,升級至3.2有些設定會被更動,如防灌水的驗證碼,我的系統是全部不見.
大家就多注意囉!! 
|