PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/yourdogstore.kerihosting.com/wp-content/plugins/smartcrawl-seo/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/yourdogstore.kerihosting.com/wp-content/plugins/smartcrawl-seo/autoloader.php

<?php

if ( ! class_exists( 'Smartcrawl_Autoloader' ) ) {
	class Smartcrawl_Autoloader {
		private static $class_mappings = array();

		private static function load_from_file() {
			$mappings_file = dirname( __FILE__ ) . '/class-mappings.php';
			if ( file_exists( $mappings_file ) ) {
				return include $mappings_file;
			}

			return array();
		}

		private static function get_class_mappings() {
			if ( empty( self::$class_mappings ) ) {
				self::$class_mappings = self::load_from_file();
			}

			return self::$class_mappings;
		}

		public static function autoload( $class ) {
			$class_mappings = self::get_class_mappings();
			if ( ! isset( $class_mappings[ $class ] ) ) {
				return;
			}

			$class_path = untrailingslashit( SMARTCRAWL_PLUGIN_DIR ) . $class_mappings[ $class ];
			if ( ! file_exists( $class_path ) ) {
				return;
			}

			include $class_path;
		}
	}

	spl_autoload_register( array( 'Smartcrawl_Autoloader', 'autoload' ) );
}