summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-03-19 22:03:45 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-03-19 22:03:45 +0000
commit104430e9e1e8dacd5e4320e29e59fc59aa5c6ee9 (patch)
tree5aa678433770199f1958f36c88894f377516293f /modules/gallery/helpers/gallery_theme.php
parenta58aa6e97b0e44adf7a878db6e276b081e202192 (diff)
parent0e9c626684fff0973a8512d5bd50ab7ba3a748ff (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index d6944323..62deb831 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.");
/**
* Gallery - a web based photo album viewer and editor
- * Copyright (C) 2000-2009 Bharat Mediratta
+ * Copyright (C) 2000-2010 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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();
}