diff options
author | flop25 <flop25@piwigo.org> | 2013-01-04 12:11:35 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-01-04 12:11:35 +0000 |
commit | b3ab6cf8e809256d88ba23558490244d287d26ef (patch) | |
tree | af581b7bf71f4f0249fc171716007019c3a910d6 /include | |
parent | 814e57d4d83390946b6729a6d75bcf84f71d6d0b (diff) |
bug:2797 merge r19696 in 2.4 branche
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/branches/2.4@19794 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 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); |