From 6cecac48621674edbfb6bd5c9ef21e6abdc79e8b Mon Sep 17 00:00:00 2001
From: liaojinling <360197197@qq.com>
Date: Wed, 5 Feb 2020 18:49:06 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E6=8E=A8=E5=B9=BF=E5=91=98?=
 =?UTF-8?q?=E6=B3=A8=E5=86=8C=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Application/Home/Controller/IndexController.class.php | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

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()
     {