aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/template.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 6d81b7169..864f63f44 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -105,7 +105,10 @@ class Template {
if ( !empty($theme) )
{
$this->set_theme($root, $theme, $path);
- $this->set_prefilter( 'header', array('Template', 'prefilter_local_css') );
+ if (!defined('IN_ADMIN'))
+ {
+ $this->set_prefilter( 'header', array('Template', 'prefilter_local_css') );
+ }
}
else
$this->set_template_dir($root);