<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

织梦上传附件提示需输入后台管理目录才能登录的解决办法

时间:2020-12-08

DedeCMS注册会员上传附件时会提示“需输入后台管理目录才能登录”

 

解决办法:

 

第一步:找到程序目录include\dialog\config.php下文件。其中有段代码:

01 //检验用户登录状态
02 $cuserLogin = new userLogin();
03 if($cuserLogin->getUserID() <=0 )
04 {
05 if(empty($adminDirHand))
06 {
07 ShowMsg(“<b>提示:需输入后台管理目录才能登录</b><br /><form>请输入后台管理目录名:<input type=’hidden’ name=’gotopage’ value='”.urlencode($dedeNowurl).”‘ /><input type=’text’ name=’adminDirHand’ value=’dede’ style=’width:120px;’ /><input style=’width:80px;’ type=’submit’ name=’sbt’ value=’转入登录’ /></form>”, “javascript:;”);
08 exit();
09 }
10 $gurl = “../../{$adminDirHand}/login.php?gotopage=”.urlencode($dedeNowurl);
11 echo “<script language=’javascript’>location=’$gurl';</script>”;
12 exit();
0