Permalink
Browse files

js file getter

  • Loading branch information...
1 parent 4d6fbcd commit 7173815df897212e0f151000cec71ccc880e9f44 @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
@@ -119,7 +119,7 @@ public function getLessPaths()
*/
public function getLessJsPath()
{
- return '/sfLESSPlugin/js/less-1.0.31.min.js';
+ return '/js/less.min.js';
}
/**
@@ -50,6 +50,14 @@ public function getLessPaths()
return sfLESSUtils::getSepFixedPath(sfConfig::get('sf_web_dir')) . '/less/';
}
+ /**
+ * @see LESSConfig
+ */
+ public function getLessJsPath()
+ {
+ return sfConfig::get('app_sf_less_plugin_js', '/sfLESSPlugin/js/less-1.0.33.min.js');
+ }
+
/**
* @see LESSConfig
*/

0 comments on commit 7173815

Please sign in to comment.