Development

Changeset 10111

You must first sign up to be able to contribute.

Changeset 10111

Show
Ignore:
Timestamp:
07/03/08 22:23:34 (3 months ago)
Author:
Leon.van.der.Ree
Message:

Allow adding extra css-filter-paths with app.yml

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfCombineFilterPlugin/branches/kraven/lib/sfCombineFilter.class.php

    r10110 r10111  
    125125        { 
    126126          //TODO: may need more replacements in the path but this covers everything I've come across so far 
    127           $cssPath = str_replace(array(sfConfig::get('sf_root_dir'),'plugins/','web/'),'',$path); 
     127          $filtered_paths = array(sfConfig::get('sf_root_dir'), 'plugins/', 'web/'); 
     128          $filtered_paths = array_merge($filtered_paths, sfConfig::get('app_sf_combine_filter_plugin_css_filtered_paths', array())); 
     129          $cssPath = str_replace($filtered_paths,'',$path); 
    128130          $con = $this->fixCssPaths(file_get_contents($path),$cssPath); 
    129131        }