Merge branch 'hotfix/close_promote_register' of wmtx/platform into master

清除推广员注册代码
master
廖金灵 5 years ago committed by Gogs
commit 5d281e4647

@ -99,12 +99,10 @@ class IndexController extends HomeController
} }
} }
public function register() /* public function register()
{ {
if (IS_POST) { if (IS_POST) {
if (!C('USER_ALLOW_REGISTER')) { $this->ajaxReturn(array('status' => 0, 'info' => '已关闭用户注册!'));
$this->ajaxReturn(array('status' => 0, 'info' => '已关闭用户注册!'));
}
// unset($_POST['remember']); // unset($_POST['remember']);
$Promote = new PromoteApi(); $Promote = new PromoteApi();
@ -120,7 +118,7 @@ class IndexController extends HomeController
} else { } else {
$this->display(); $this->display();
} }
} } */
public function rule() public function rule()
{ {

Loading…
Cancel
Save