diff options
author | patdenice <patdenice@piwigo.org> | 2009-03-03 22:37:14 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2009-03-03 22:37:14 +0000 |
commit | 9045f11c700970825022eb2762cfeb8db0598764 (patch) | |
tree | ac0e63cb22eb6d766bf840c2fd2c2be1017d7dd9 /include/template.class.php | |
parent | 781ec8d7c4989b39dd289071e16f156857b6acfb (diff) |
User's template extension must not be included in admin pages.
git-svn-id: http://piwigo.org/svn/trunk@3169 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/template.class.php')
-rw-r--r-- | include/template.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php index 7f90d5c7c..386f3123a 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -84,7 +84,7 @@ class Template { $this->set_template_dir($root); - if (isset($conf['extents_for_templates'])) + if (!defined('IN_ADMIN') and isset($conf['extents_for_templates'])) { $tpl_extents = unserialize($conf['extents_for_templates']); $this->set_extents($tpl_extents, './template-extension/', true); |