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
This commit is contained in:
parent
814e57d4d8
commit
b3ab6cf8e8
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue