fuel/core — Issue #741: Allow multiple paths per type in Asset::$_folders
Author: keith-loy
Created: 2011-12-21 17:12:03+00:00
State: open

Currently only a single asset directory per asset type is supported in the Asset class. It would be ideal to support multiple directories per asset type. For example, for an asset type of css, directories of css, stylesheets, styles would be searched, not just css.

Reasoning for this is when including third party code, different naming conventions for directories containing asset types are frequently used. Ideally one could easily include third party code without changing it to match Fuel's conventions.

Implementing this feature could include allowing asset.php config settings asset.css_dir, asset.js_dir, and asset.img_dir to accept an array of strings as well as a string.