"assets_output" write wrong cache file name
related to Enabling "assets_output" produces wrong path. #355
my asset config is set to :
$config['assets_folders'] = array(
'images' => 'images/',
'css' => 'css/',
'js' => 'js/',
'pdf' => 'pdf/',
'swf' => 'swf/',
'media' => 'media/',
'captchas' => 'captchas/',
'docs' => 'docs/',
'cache' => 'cache/'
$config['assets_cache_folder'] = 'cache';
and my folder assets/cache is writable
but assets_output write a filename like this :
in my source html file everything seems ok :
i modified fuel/libraries/Asset.php after line number 540 like this:
$path = ('cache' === $path) ? WEB_ROOT . $assets_path . $asset_type : WEB_ROOT . $assets_path . $asset_type . $file;
and now it works fine...
could this change cause other consequences otherwise that I do not see ?
another option i imagined is to modify in fuel/libraries/Asset.php in 1129 :
$cache_dir = $this->assets_server_path($this->assets_cache_folder, 'cache', $module);
what's the best solution ? Or does it exist another thing to do ?
thank you for any suggestion or response.
have a nice day.