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