Changeset 10113
- Timestamp:
- 07/03/08 23:51:08 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfCombineFilterPlugin/branches/kraven/config/app.yml
r10111 r10113 1 1 all: # these are the defaults, you should override them in your application/config/app.yml file 2 2 sf_combine_filter_plugin: 3 css_filtered_paths: [] # you probably want to end your paths (comma seperated) with a / 3 css_filtered_paths: [] # you probably want to end your paths (comma seperated) with a / 4 js_exclude_files: [tiny_mce] # you probably want E.G. tiny_mce in here, so I did this for you ;-) plugins/sfCombineFilterPlugin/branches/kraven/lib/sfCombineFilter.class.php
r10111 r10113 76 76 $path = _compute_public_path($file, 'js', 'js'); 77 77 78 // do not include, when in exclude array 79 foreach (sfConfig::get('app_sf_combine_filter_plugin_js_exclude_files', array()) as $exclude) 80 { 81 if (strpos($path, $exclude)!==false) continue 2; 82 } 83 78 84 if ((!$root_js_only && !strpos($path, '://')&& strpos($path, '.js')) || ($root_js_only && strpos($path, $this->sf_relative_url_root.'/js/') === 0)) { 79 85 $element = ($root_js_only ? preg_replace("/^".str_replace('/', '\/', $this->sf_relative_url_root.'/js/')."/i", '', $path) : $path);