HEX
Server: LiteSpeed
System: Linux server358.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User: alfoxtfy (2915)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/alfoxtfy/yorobot.es/wp-content/plugins/logo-carousel-free/class/router.php
<?php
/**
 * Logo Carousel - route.
 *
 * @package logo-carousel-free
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
/**
 * Logo Carousel - route class
 *
 * @since 3.0
 */
class SPLC_Router {

	/**
	 * Single instance of the class.
	 *
	 * @var SPLC_Router single instance of the class
	 *
	 * @since 3.0
	 */
	protected static $_instance = null;


	/**
	 * Main SPLC Instance
	 *
	 * @since 3.0
	 * @static
	 * @return self Main instance
	 */
	public static function instance() {
		if ( is_null( self::$_instance ) ) {
			self::$_instance = new self();
		}

		return self::$_instance;
	}

	/**
	 * Include the required files
	 *
	 * @since 3.0
	 * @return void
	 */
	public function includes() {
		include_once SP_LC_PATH . '/includes/free/loader.php';
	}

	/**
	 * SPLC function
	 *
	 * @since 3.0
	 * @return void
	 */
	public function splc_function() {
		include_once SP_LC_PATH . '/includes/functions.php';
	}

	/**
	 * Splc_metabox
	 *
	 * @return void
	 */
	public function splc_metabox() {
		include_once SP_LC_PATH . '/admin/views/sp-framework/classes/setup.class.php';
		include_once SP_LC_PATH . '/admin/views/sp-framework/config/settings.config.php';
		include_once SP_LC_PATH . '/admin/views/sp-framework/config/tools.config.php';
		include_once SP_LC_PATH . '/admin/views/sp-framework/config/metabox.config.php';
	}
}