- 第一步:找到程序目录include\dialog\config.php下文件。其中有段代码
- //检验用户登录状态
- $cuserLogin = new userLogin();
- if($cuserLogin->getUserID() <&#61;0 )
- {
- if(emptyempty($adminDirHand))
- {
- ShowMsg("提示&#xff1a;需输入后台管理目录才能登录
请输入后台管理目录名&#xff1a;.urlencode($dedeNowurl)."&#39; />", "Javascript:;"); - exit();
- }
- $gurl &#61; "../../{$adminDirHand}/login.php?gotopage&#61;".urlencode($dedeNowurl);
- echo "";
- exit();
- }
- 将$cuserLogin &#61; new userLogin();之后的代码进行注释后即可使注册会员正常上传图片&#xff0c;具体注释方法为&#xff1a;
- /*if($cuserLogin->getUserID() <&#61;0 )
- {
- if(empty($adminDirHand))
- {
- ShowMsg("提示&#xff1a;需输入后台管理目录才能登录
请输入后台管理目录名&#xff1a;", "Javascript:;"); - exit();
- }
- $gurl &#61; "../../{$adminDirHand}/login.php?gotopage&#61;".urlencode($dedeNowurl);
- echo "";
- exit();
- }*/