From 2c88c99afe3b6f68d9f74d68f7e02a62e2f2c32d Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Fri, 11 Aug 2017 13:56:01 +0800
Subject: [PATCH] 修改默认路口

---
 application/controllers/Index.php |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/application/controllers/Index.php b/application/controllers/Index.php
index e2f7363..e8a0293 100644
--- a/application/controllers/Index.php
+++ b/application/controllers/Index.php
@@ -1,14 +1,6 @@
 <?php
 	class IndexController extends Yaf_Controller_Abstract{
 		public function indexAction(){
-			//$this->_view->word = "hello world";
-			$message = 'hello';
-$example = function ($data) use ($message){
-  return "{$data},{$message}";
-};
- 
-echo $example('world');
-			//or
-			//$this->getView()->word = "hello world";
+			$this->redirect('/user_login.html');
 		}
 	}
\ No newline at end of file

--
Gitblit v1.8.0