summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
-rw-r--r--modules/gallery/helpers/gallery_event.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php
index b6afa2c8..91f3e717 100644
--- a/modules/gallery/helpers/gallery_event.php
+++ b/modules/gallery/helpers/gallery_event.php
@@ -23,7 +23,8 @@ class gallery_event_Core {
* Initialization.
*/
static function gallery_ready() {
- identity::load_user();
+ theme::load_themes(Input::instance()->server("PATH_INFO"));
+ user::load_user();
locales::set_request_locale();
}