aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/template.class.php')
-rw-r--r--include/template.class.php2
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);