PHP 8.2.31
Preview: loader.php Size: 1.34 KB
//proc/self/root/home/nshryvcy/himaltourism.com/wp-content/themes/adventure-tours/includes/loader.php

<?php
/**
 * Theme bootrap file that defines classes loaders.
 *
 * @author    Themedelight
 * @package   Themedelight/AdventureTours
 * @version   4.2.4
 */

if (!defined('_THEME_VENDOR_PATH_')) {
	define('_THEME_VENDOR_PATH_', dirname( __FILE__ ) . '/../vendor/');
}


if ( ! function_exists( 'adventure_tours_autoloader' ) ) {
	/**
	 * Vendor components loading function.
	 *
	 * @param  string $class class name that should be loaded.
	 * @return void
	 */
	function adventure_tours_autoloader( $class ) {
		static $map, $includesPath;
		if ( ! $map ) {
			$map = array(
				'lessc' => _THEME_VENDOR_PATH_ . 'lessphp/lessc.inc.php',
				'wp_bootstrap_navwalker' => _THEME_VENDOR_PATH_ . 'twittem/wp_bootstrap_navwalker.php',
				'JuiceContainer' => _THEME_VENDOR_PATH_ . 'juice/JuiceContainer.php',
				'tmhOAuth' => _THEME_VENDOR_PATH_ . 'tmhOAuth/tmhOAuth.php',
			);
			$includesPath = dirname(__FILE__);
		}

		if ( isset( $map[ $class ] ) ) {
			$fileName = $map[ $class ];
			if ( $fileName ) {
				require $fileName;
			}
		} elseif ( 0 === strpos( $class, 'At' ) ) {
			$themeClassFile = "{$includesPath}/classes/{$class}.php";
			if ( file_exists( $themeClassFile ) ) {
				require $themeClassFile;
			}
		}
	}

	spl_autoload_register( 'adventure_tours_autoloader' );
}

require _THEME_VENDOR_PATH_ . 'themedelight/bootstrap.php';

AtTourHelper::init();

Directory Contents

Dirs: 5 × Files: 4

Name Size Perms Modified Actions
admin DIR
- drwxr-xr-x 2022-11-10 06:13:26
Edit Download
classes DIR
- drwxr-xr-x 2022-11-10 06:13:26
Edit Download
data DIR
- drwxr-xr-x 2022-11-10 06:13:26
Edit Download
metabox DIR
- drwxr-xr-x 2022-11-10 06:13:26
Edit Download
- drwxr-xr-x 2022-11-10 06:13:26
Edit Download
1.34 KB lrw-r--r-- 2022-11-10 06:13:26
Edit Download
54.61 KB lrw-r--r-- 2022-11-10 06:13:26
Edit Download
32.36 KB lrw-r--r-- 2022-11-10 06:13:26
Edit Download
8.76 KB lrw-r--r-- 2022-11-10 06:13:26
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).