Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed the config to work with a cache folder

  • Loading branch information...
commit d99c021cbf623301ec86dc8d98b35c9c18cb0a6f 1 parent 99841cd
@JaapRood authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 config/less.php
View
9 config/less.php
@@ -19,8 +19,13 @@
* This will allow you to upgrade fuel without losing your custom config.
*/
-return array(
+$default_dir = \Config::get('asset.paths.0');
+$cache_dir = $default_dir . 'cache/';
+return array(
+
+ 'paths' => array_merge(\Config::get('asset.paths'), array($cache_dir)),
+
/**
* An array of paths that will be searched for lesscss assets.
* You should probably keep them out of public access
@@ -41,5 +46,5 @@
*
* Default: Config::get('asset.paths.0').Config::get('asset.css_dir'),
*/
- 'less_output_dir' => Config::get('asset.paths.0').Config::get('asset.css_dir'),
+ 'less_output_dir' => $cache_dir.Config::get('asset.css_dir'),
);
Please sign in to comment.
Something went wrong with that request. Please try again.