SupSite7.5登陸后臺(tái)先驗(yàn)證權(quán)限問(wèn)題解決方案_SupeSite教程
教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!
程序升級(jí)到SupSite7.5后,如果通過(guò)訪問(wèn)admincp.php來(lái)登陸后臺(tái),會(huì)遇到無(wú)權(quán)限提示,這是因?yàn)槌绦蛳扰袛鄼?quán)限,然后再判斷是否登陸導(dǎo)致的。
找開(kāi)admincp.php文件,找到下面一段代碼:
將其改為:
再訪問(wèn)admincp.php文件就會(huì)先判斷是否登陸,再判斷權(quán)限了。
找開(kāi)admincp.php文件,找到下面一段代碼:
- //權(quán)限檢查
- if(!checkperm('manageadmincp')) {
- showmessage('no_authority_management_operation');
- }
- //沒(méi)有登錄
- if(emptyempty($_SGLOBAL['supe_uid']) || emptyempty($_SGLOBAL['member']['password'])) {
- setcookie('_refer', rawurlencode(S_URL_ALL.'/admincp.php?'.$_SERVER['QUERY_STRING']));
- showmessage('admincp_login', geturl('action/login'));
- }
將其改為:
- //沒(méi)有登錄
- if(emptyempty($_SGLOBAL['supe_uid']) || emptyempty($_SGLOBAL['member']['password'])) {
- setcookie('_refer', rawurlencode(S_URL_ALL.'/admincp.php?'.$_SERVER['QUERY_STRING']));
- showmessage('admincp_login', geturl('action/login'));
- }
- //權(quán)限檢查
- if(!checkperm('manageadmincp')) {
- showmessage('no_authority_management_operation');
- }
查看更多 supesite教程 supesite模板
相關(guān)SupeSite教程:
- SupeSite默認(rèn)焦點(diǎn)輪轉(zhuǎn)圖簡(jiǎn)單美化方法
- SupeSite7.5 讓資訊發(fā)布日期更加個(gè)性化
- SupeSite7.5 讓會(huì)員中心擁有不同的title和提示信息
- SupeSite7.5 benbaHTML生成方案第一版
- SupeSite7.5發(fā)布評(píng)論后直接跳轉(zhuǎn)回到文章頁(yè)面的完美方法
- SupSite7.5單個(gè)頁(yè)面頻道編輯后無(wú)法訪問(wèn)
- SupSite模型無(wú)權(quán)限評(píng)論修改方案
- SupSite模板里經(jīng)常用到以下幾個(gè)標(biāo)簽的說(shuō)明
- SupSite頁(yè)面文件與模塊關(guān)系說(shuō)明
- 升級(jí)SupeSite7.5出現(xiàn)Errno.: 1054的解決方法
- SupeSite7.5 非gbk版本程序,在回復(fù)某帖子時(shí)回復(fù)被截?cái)嘈薷姆桨?/a>
- SupeSite 7.0 模板CSS修改全攻略教程
SupeSite教程教程Rss訂閱Cms教程搜索
SupeSite教程推薦
- SupeSite 7.0 系統(tǒng)設(shè)置-郵件設(shè)置教程
- SupSite模板里經(jīng)常用到以下幾個(gè)標(biāo)簽的說(shuō)明
- SupeSite 7.0 聚合設(shè)置-版塊聚合說(shuō)明教程
- SupeSite 7.0 系統(tǒng)管理-資訊自定義字段教程
- SupeSite 7.0 系統(tǒng)設(shè)置-頻道管理教程
- SupeSite 7.0 用戶管理-添加用戶組說(shuō)明教程
- SupeSite 7.0 采集管理-采集器說(shuō)明教程
- SupeSite 7.0 用戶管理-恢復(fù)被禁用戶說(shuō)明教程
- SupeSite 7.0 模型管理-模型備份教程
- SupeSite 7.0 批量維護(hù)-舉報(bào)信息管理說(shuō)明教程
猜你也喜歡看這些
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索SupSite7.5登陸后臺(tái)先驗(yàn)證權(quán)限問(wèn)題解決方案
- 教程說(shuō)明:
SupeSite教程-SupSite7.5登陸后臺(tái)先驗(yàn)證權(quán)限問(wèn)題解決方案。