403Webshell
Server IP : 192.64.118.117  /  Your IP : 13.58.76.154
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/tcrgfinancesuite.com/wp-content/plugins/w3-total-cache/lib/Azure/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/tcrgfinancesuite.com/wp-content/plugins/w3-total-cache/lib/Azure/loader.php
<?php

/**
 * Class autoloader
 */
require_once W3TC_LIB_DIR . DIRECTORY_SEPARATOR . 'Azure' . 
	DIRECTORY_SEPARATOR . 'GuzzleHttp' . DIRECTORY_SEPARATOR .
	'functions_include.php';
require_once W3TC_LIB_DIR . DIRECTORY_SEPARATOR . 'Azure' . 
	DIRECTORY_SEPARATOR . 'GuzzleHttp' . DIRECTORY_SEPARATOR .
	'Promise' . DIRECTORY_SEPARATOR . 'functions_include.php';
require_once W3TC_LIB_DIR . DIRECTORY_SEPARATOR . 'Azure' . 
	DIRECTORY_SEPARATOR . 'GuzzleHttp' . DIRECTORY_SEPARATOR .
	'Psr7' . DIRECTORY_SEPARATOR . 'functions_include.php';


function w3tc_azure_class_autoload( $class ) {
	$base = null;

	// some php pass classes with slash
	if ( substr( $class, 0, 1 ) == "\\" )
		$class = substr( $class, 1 );

	if ( substr( $class, 0, 23 ) == 'MicrosoftAzure\\Storage\\' ) {
		$base = W3TC_LIB_DIR . DIRECTORY_SEPARATOR . 'Azure' . 
			DIRECTORY_SEPARATOR . 'MicrosoftAzureStorage' . DIRECTORY_SEPARATOR;
		$class = substr( $class, 23 );
	} elseif ( substr( $class, 0, 11 ) == 'GuzzleHttp\\' ) {
		$base = W3TC_LIB_DIR . DIRECTORY_SEPARATOR . 'Azure' . 
			DIRECTORY_SEPARATOR . 'GuzzleHttp' . DIRECTORY_SEPARATOR;
		$class = substr( $class, 11 );
	} elseif ( substr( $class, 0, 17 ) == 'Psr\\Http\\Message\\' ) {
		$base = W3TC_LIB_DIR . DIRECTORY_SEPARATOR . 'Azure' . 
			DIRECTORY_SEPARATOR . 'PsrHttpMessage' . DIRECTORY_SEPARATOR;
		$class = substr( $class, 17 );
	}

	if ( !is_null( $base ) ) {
		$file = $base . strtr( $class, "\\_",
			DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR ) . '.php';
		if ( file_exists( $file ) )
			require_once $file;
	}
}

spl_autoload_register( 'w3tc_azure_class_autoload' );

Youez - 2016 - github.com/yon3zu
LinuXploit