Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -8,7 +8,7 @@ class Common extends Controller | @@ -8,7 +8,7 @@ class Common extends Controller | ||
| 8 | public function initialize() | 8 | public function initialize() |
| 9 | { | 9 | { |
| 10 | //判断管理员是否登录 | 10 | //判断管理员是否登录 |
| 11 | - if (1) { | 11 | + if (false) { |
| 12 | $this->redirect('admin/login/index'); | 12 | $this->redirect('admin/login/index'); |
| 13 | } | 13 | } |
| 14 | define('MODULE_NAME',strtolower(request()->controller())); | 14 | define('MODULE_NAME',strtolower(request()->controller())); |
-
Please register or login to post a comment