Create stub dashboard controller and language file
This commit is contained in:
21
application/controllers/dashboard.php
Normal file
21
application/controllers/dashboard.php
Normal 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');
|
||||||
|
}
|
||||||
|
}
|
||||||
5
application/language/german/dashboard_lang.php
Normal file
5
application/language/german/dashboard_lang.php
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
/* End of file dashboard_lang.php */
|
||||||
|
/* Location: ./application/language/german/dashboard_lang.php */
|
||||||
Reference in New Issue
Block a user