/** * Get the singleton instance of Kohana_Config. * * $config = Kohana_Config::instance(); * * @return Kohana_Config */ public static function instance() { if (self::$_instance === NULL) { // Create a new instance self::$_instance = new self(); } return self::$_instance; }