/** * * Get config instanced */ public static function getConfig() { JSNFactory::localimport('libraries.joomlashine.config'); if (!isset(self::$config)) { self::$config = JSNConfig::getInstance(); } return self::$config; }