Exemplo n.º 1
0
 /**
  * Merge the default options with any user changes.
  *
  * @return	void
  */
 protected static function loadDefaultOpts()
 {
     $defaultOpts = array('algorithm' => 'crc32b', 'cacheFile' => 'minify.sfv', 'cacheDir' => __DIR__ . '/minify/cache/', 'outputDir' => 'assets/', 'publicDir' => null, 'minifyDir' => 'minify/', 'absolutePaths' => true, 'allowedExts' => array('js', 'css'), 'minifyFile' => 'compressed', 'useLocalJS' => false, 'htmlCSS' => '<link rel="stylesheet" media="screen" href="%s">', 'htmlJS' => '<script src="%s"></script>', 'compressCode' => true, 'cssLevel' => 'sane', 'useRewrite' => false);
     self::$_opt = self::$_opt + $defaultOpts;
 }