<?php
class Index extends  CI_Controller{
	//http://127.0.0.1:8000/CodeIgniter-3.0.0/index.php/index
	
	//与类名相同的,会被php当作构造方法
	//相当于void __construct(){}
	public function index(){
		echo 'index 控制器的index方法<br>';
	}
	
	
	//http://127.0.0.1:8000/CodeIgniter-3.0.0/index.php/index/index2
	public function index2(){
		echo 'index 控制器的index2方法<br>';
	}
	
}