*/ class Admin_Controller extends CI_Controller { /** * Calls the parent constructor. */ public function __construct() { parent::__construct(); if (!$this->access->isAdmin()) { show_error(_('Shove off, this is for admins.'), 403); } } } /* End of file Admin_Controller.php */ /* Location: ./application/core/Admin_Controller.php */