只需要找到member/register.php文件的75行,也就是
1 showmessage('注册成功!'.$script, SITE_URL);
这行代码换成
1 $result = $member->login($memberinfo['username'], $memberinfo['password']);
2 showmessage('开始填写详细资料!'.$script, $M['url'].'register_model.php');
换好后,注册完试试,就会自动登录了哦