Create stub dashboard controller and language file

This commit is contained in:
Karsten Heiken
2011-07-22 16:40:56 +02:00
parent 3f65f0017e
commit 262cdfd227
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
class Dashboard extends CI_Controller {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
$this->load->model('job');
$this->load->model('project');
$this->load->model('user');
// load language file
$this->lang->load(strtolower($this->router->class));
}
public function index() {
$this->load->view('dashboard');
}
}