Add a simple admin controller

This commit is contained in:
Eike Foken
2011-08-18 03:26:06 +02:00
parent e59cb9386a
commit f33dadafae
2 changed files with 44 additions and 20 deletions

View File

@@ -1,20 +0,0 @@
<?php defined('BASEPATH') || exit("No direct script access allowed");
/**
* Extends CI's controller class.
*
* @author Eike Foken <kontakt@eikefoken.de>
*/
class MY_Controller extends CI_Controller {
/**
* Calls the parent constructor and loads the relevant language file.
*/
public function __construct() {
parent::__construct();
// load relevant language file
$this->lang->load(strtolower($this->router->class));
}
}