@H_301_3@
第一步:找到程序目录include\dialog\config.PHP下文件。其中有段代码 @H_301_3@
$cuserLogin = new userLogin(); @H_301_3@
if($cuserLogin->getUserID() <=0 ) @H_301_3@
{ @H_301_3@
if(empty($adminDirHand)) @H_301_3@
{ @H_301_3@
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:;"); @H_301_3@
exit(); @H_301_3@
} @H_301_3@
$gurl = "../../{$adminDirHand}/login.PHP?gotopage=".urlencode($dedeNowurl); @H_301_3@
echo "<script language='javascript'>location='$gurl';</script>"; @H_301_3@
exit(); @H_301_3@
} @H_301_3@
将$cuserLogin = new userLogin();之后的代码进行注释后即可使注册会员正常上传图片,具体注释方法为: @H_301_3@
/*if($cuserLogin->getUserID() <=0 ) @H_301_3@
{ @H_301_3@
if(empty($adminDirHand)) @H_301_3@
{ @H_301_3@
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:;"); @H_301_3@
exit(); @H_301_3@
} @H_301_3@
$gurl = "../../{$adminDirHand}/login.PHP?gotopage=".urlencode($dedeNowurl); @H_301_3@
echo "<script language='javascript'>location='$gurl';</script>"; @H_301_3@
exit(); @H_301_3@
}*/ @H_301_3@