public static function init() { $__dir__ = dirname(__FILE__); self::$MINI_THEMES_TEMPLATE_DIRECTORY = $__dir__ . "/../templates/"; self::$PLUGIN_URL = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG; self::$PLUGIN_DIRECTORY = WP_CONTENT_DIR . "/plugins/" . EZP_CS_Constants::PLUGIN_SLUG; self::$type_format_array = array('boolean' => '%s', 'integer' => '%d', 'double' => '%g', 'string' => '%s'); }