public function __construct() { parent::__construct(); if (!$this->acl->check('administrator')) { $this->deny(); } $this->view->setAdmin(); MDL_GlobalControl::setErrorPage('admin/error'); }
public static function setErrorPage($error_page) { self::$error_page = $error_page; }