| Server IP : 173.249.148.11 / Your IP : 216.73.216.179 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /chroot/home/devinter/public_html/wp-content/plugins/w3-total-cache/lib/Azure/ |
Upload File : |
<?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' );