diff options
Diffstat (limited to 'include/template.class.php')
-rw-r--r-- | include/template.class.php | 5 |
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); |