summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Admin_View.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/libraries/Admin_View.php')
-rw-r--r--modules/gallery/libraries/Admin_View.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/libraries/Admin_View.php b/modules/gallery/libraries/Admin_View.php
index 5e0d5feb..f7de96bf 100644
--- a/modules/gallery/libraries/Admin_View.php
+++ b/modules/gallery/libraries/Admin_View.php
@@ -98,9 +98,9 @@ class Admin_View_Core extends Gallery_View {
}
}
- if ($function == "admin_head") {
- array_unshift($blocks, $this->combine_css());
- array_unshift($blocks, $this->combine_script());
+ if ($function == "head") {
+ array_unshift($blocks, $this->combine_files($this->css, "css"));
+ array_unshift($blocks, $this->combine_files($this->css, "javascript"));
}
if (Session::instance()->get("debug")) {