summaryrefslogtreecommitdiff
path: root/handler
diff options
context:
space:
mode:
Diffstat (limited to 'handler')
-rw-r--r--handler/admin/AdminRequestHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/handler/admin/AdminRequestHandler.php b/handler/admin/AdminRequestHandler.php
index 04b7cde..5a6bd12 100644
--- a/handler/admin/AdminRequestHandler.php
+++ b/handler/admin/AdminRequestHandler.php
@@ -8,8 +8,8 @@ use Response;
class AdminRequestHandler extends \RequestHandler {
public function beforeDispatch(): ?Response {
- $this->skin->static[] = '/css/admin.css';
- $this->skin->static[] = '/js/admin.js';
+ $this->skin->static[] = 'css/admin.css';
+ $this->skin->static[] = 'js/admin.js';
if (!($this instanceof Login) && !admin::isAdmin())
throw new \ForbiddenException('looks like you are not admin');