diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-28 15:38:39 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-28 15:38:39 -0800 |
commit | e3e72ca4da0375d88b86ba69b6596b10be164e23 (patch) | |
tree | f32855f9416252b474ab8d598a345fdcf1455b7d /modules/gallery/helpers/gallery_theme.php | |
parent | f28b80fcf43e02ca65f419eb6774321dc30a2a37 (diff) | |
parent | fd94f4bec21a7deaa86d468da704a048d2be751e (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index d6944323..7f2d4ec7 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -71,6 +71,7 @@ class gallery_theme_Core { static function page_bottom($theme) { $session = Session::instance(); if ($session->get("profiler", false)) { + Profiler::enable(); $profiler = new Profiler(); $profiler->render(); } @@ -87,6 +88,7 @@ class gallery_theme_Core { static function admin_page_bottom($theme) { $session = Session::instance(); if ($session->get("profiler", false)) { + Profiler::enable(); $profiler = new Profiler(); $profiler->render(); } |