aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 1dea68164..7c6f13893 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -108,7 +108,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);