Permalink
Browse files

js file getter

  • Loading branch information...
1 parent 6e44c2a commit d94f37783b380fd50833a551f5e03476c8322099 @everzet committed Jul 26, 2010
Showing with 9 additions and 1 deletion.
  1. +1 −1 lib/config/LESSConfig.class.php
  2. +8 −0 lib/config/sfLESSConfig.class.php
@@ -127,7 +127,7 @@ public function getLessPaths()
*/
public function getLessJsPath()
{
- return '/sfLESSPlugin/js/less-1.0.33.min.js';
+ return '/js/less.min.js';
}
/**
@@ -55,6 +55,14 @@ public function getLessPaths()
*/
public function getLessJsPath()
{
+ return sfConfig::get('app_sf_less_plugin_js', '/sfLESSPlugin/js/less-1.0.33.min.js');
+ }
+
+ /**
+ * @see LESSConfig
+ */
+ public function getLessJsPath()
+ {
return sfConfig::get('app_sf_less_plugin_js_lib', parent::getLessJsPath());
}

0 comments on commit d94f377

Please sign in to comment.