Server : Apache System : Linux pod-100823:apache2_74:v0.5.7 5.4.0-1138-gcp #147~18.04.1-Ubuntu SMP Mon Oct 7 21:46:26 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33.7 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system Directory : /nas/content/live/attorneyexperi/wp-content/plugins/wp-rocket/views/cache/ |
<?php use WP_Rocket\Buffer\Cache; use WP_Rocket\Buffer\Config; use WP_Rocket\Buffer\Tests; defined( 'ABSPATH' ) || exit; define( 'WP_ROCKET_ADVANCED_CACHE', true ); $rocket_path = '{{WP_ROCKET_PATH}}'; $rocket_config_path = '{{WP_ROCKET_CONFIG_PATH}}'; $rocket_cache_path = '{{WP_ROCKET_CACHE_PATH}}'; if ( version_compare( phpversion(), '{{WP_ROCKET_PHP_VERSION}}', '<' ) || ! file_exists( $rocket_path ) || ! file_exists( $rocket_config_path ) || ! file_exists( $rocket_cache_path ) ) { define( 'WP_ROCKET_ADVANCED_CACHE_PROBLEM', true ); return; } '{{MOBILE_CACHE}}'; if ( file_exists( '{{WP_ROCKET_PATH}}inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php' ) && ! class_exists( 'WP_Rocket_Mobile_Detect' ) ) { include_once '{{WP_ROCKET_PATH}}inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php'; } '{{/MOBILE_CACHE}}'; spl_autoload_register( function ( $class ) use ( $rocket_path ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.classFound $rocket_classes = [ 'WP_Rocket\\Buffer\\Abstract_Buffer' => [ $rocket_path . 'inc/classes/Buffer/class-abstract-buffer.php' ], 'WP_Rocket\\Buffer\\Cache' => [ $rocket_path . 'inc/classes/Buffer/class-cache.php' ], 'WP_Rocket\\Buffer\\Tests' => [ $rocket_path . 'inc/classes/Buffer/class-tests.php' ], 'WP_Rocket\\Buffer\\Config' => [ $rocket_path . 'inc/classes/Buffer/class-config.php' ], 'WP_Rocket\\Logger\\HTMLFormatter' => [ $rocket_path . 'inc/Logger/HTMLFormatter.php', $rocket_path . 'inc/classes/logger/class-html-formatter.php', ], 'WP_Rocket\\Logger\\Logger' => [ $rocket_path . 'inc/Logger/Logger.php', $rocket_path . 'inc/classes/logger/class-logger.php', ], 'WP_Rocket\\Logger\\StreamHandler' => [ $rocket_path . 'inc/Logger/StreamHandler.php', $rocket_path . 'inc/classes/logger/class-stream-handler.php', ], 'WP_Rocket\\Traits\\Memoize' => [ $rocket_path . 'inc/classes/traits/trait-memoize.php' ], ]; if ( isset( $rocket_classes[ $class ] ) ) { $file_options = $rocket_classes[ $class ]; $file = ''; foreach ( $file_options as $file_option ) { if ( file_exists( $file_option ) ) { $file = $file_option; break; } } } elseif ( strpos( $class, 'WP_Rocket\\Dependencies\\Monolog\\' ) === 0 ) { $class = str_replace( 'WP_Rocket\\Dependencies\\Monolog\\', '', $class ); $file = $rocket_path . 'inc/Dependencies/Monolog/' . str_replace( '\\', '/', $class ) . '.php'; if ( ! file_exists( $file ) ) { $file = $rocket_path . 'vendor/monolog/monolog/src/' . str_replace( '\\', '/', $class ) . '.php'; } } elseif ( strpos( $class, 'WP_Rocket\\Dependencies\\Psr\\Log\\' ) === 0 ) { $class = str_replace( 'WP_Rocket\\Dependencies\\Psr\\Log\\', '', $class ); $file = $rocket_path . 'inc/Dependencies/Psr/Log/' . str_replace( '\\', '/', $class ) . '.php'; if ( ! file_exists( $file ) ) { $file = $rocket_path . 'vendor/psr/log/' . str_replace( '\\', '/', $class ) . '.php'; } } else { return; } if ( file_exists( $file ) ) { require $file; } } ); if ( ! class_exists( '\WP_Rocket\Buffer\Cache' ) ) { if ( ! defined( 'DONOTROCKETOPTIMIZE' ) ) { define( 'DONOTROCKETOPTIMIZE', true ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound } return; } $rocket_config_class = new Config( [ 'config_dir_path' => $rocket_config_path, ] ); ( new Cache( new Tests( $rocket_config_class ), $rocket_config_class, [ 'cache_dir_path' => $rocket_cache_path, ] ) )->maybe_init_process();