From f7a98b088d5f7246cf12ee072169057a8e762664 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 10 Aug 2017 08:40:40 +0800
Subject: [PATCH] 新闻,数据监控

---
 application/modules/Public/controllers/User.php |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/application/modules/Public/controllers/User.php b/application/modules/Public/controllers/User.php
index ba411de..a545807 100644
--- a/application/modules/Public/controllers/User.php
+++ b/application/modules/Public/controllers/User.php
@@ -5,7 +5,7 @@
 	class UserController extends System_Controller_Web{
 
 		public function init(){
-			$this->request = $this->getRequest();
+			$this->request = $this->getRequest();	
 			if($this->request->action == "login"){
 				$this->setLayout();
 			}
@@ -28,10 +28,7 @@
 				else{
 					exit($this->showSuccess('������������', true));
 				}
-			}
-			else{
-				$this->setLayout();
-			}			
+			}		
 		}
 
 		/**

--
Gitblit v1.8.0