diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/controllers/admin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/admin.php b/core/controllers/admin.php index b082d779..f00d3fdf 100644 --- a/core/controllers/admin.php +++ b/core/controllers/admin.php @@ -22,13 +22,13 @@ class Admin_Controller extends Controller { public function __construct() { if (!(user::active()->admin)) { - throw new Exception("Unauthorized", 401); + throw new Exception("@todo UNAUTHORIZED", 401); } // giving default is probably overkill $this->theme_name = module::get_var("core", "active_admin_theme", "default_admin"); parent::__construct(); } - + public function index() { // For now, in order not to duplicate js and css, keep the regular ("item") // theme in addition to admin theme. |