Esempio n. 1
0
 /**
  * Get a default Sass compiler instance
  *
  * @return ExternalRubyCompiler
  */
 public static function getDefaultCompiler()
 {
     if (self::$defaultCompiler === null) {
         $app = F::app();
         self::$defaultCompiler = new ExternalRubyCompiler(array('rootDir' => $app->getGlobal('IP'), 'sassExecutable' => $app->wg->SassExecutable));
     }
     return self::$defaultCompiler;
 }