Changeset 19794


Ignore:
Timestamp:
Jan 4, 2013, 1:11:35 PM (8 years ago)
Author:
flop25
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/include/template.class.php

    r17676 r19794  
    106106    {
    107107      $this->set_theme($root, $theme, $path);
    108       $this->set_prefilter( 'header', array('Template', 'prefilter_local_css') );
     108      if (!defined('IN_ADMIN'))
     109      {
     110        $this->set_prefilter( 'header', array('Template', 'prefilter_local_css') );
     111      }
    109112    }
    110113    else
Note: See TracChangeset for help on using the changeset viewer.