diff options
author | flop25 <flop25@piwigo.org> | 2012-12-31 14:07:12 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2012-12-31 14:07:12 +0000 |
commit | 237478931bec495887e53bbeb23216331c0bc9d4 (patch) | |
tree | d1f3d9afa0f93b2e5c4c0bf6ed1b84d2d663a1c8 /include | |
parent | 522335c572328220933efba5c7db290c72f12872 (diff) |
bug:2797 added !defined('IN_ADMIN') to prefilter_local_css to exlude the local css files from the administration part
git-svn-id: http://piwigo.org/svn/trunk@19696 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-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); |