init
Showing
2 changed files
with
16 additions
and
3 deletions
| 1 | <?php | 1 | <?php |
| 2 | defined('BASEPATH') OR exit('No direct script access allowed'); | 2 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 3 | 3 | ||
| 4 | class Login extends CI_Controller { | 4 | class Work extends CI_Controller { |
| 5 | |||
| 6 | /** | ||
| 7 | * 控制台默认页面 | ||
| 8 | */ | ||
| 5 | public function index() | 9 | public function index() |
| 6 | { | 10 | { |
| 7 | $this->load->view('login'); | 11 | $this->load->view('work/index'); |
| 8 | } | 12 | } |
| 9 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 13 | |||
| 14 | |||
| 15 | } | ... | ... |
-
Please register or sign in to post a comment