public static function init(array $conf = NULL) { self::$modules = Kohana::modules(); if ($conf === NULL) { return; } if (isset($conf['paths'])) { self::$paths = array_merge(self::$paths, $conf['paths']); } }