RD526109
[LT]?php use WP_RocketBufferCache; use WP_RocketBufferConfig; use WP_RocketBufferTests; defined( ‘ABSPATH’ ) || exit; define( ‘WP_ROCKET_ADVANCED_CACHE’, true ); $rocket_path = ‘/home/wwwroot/www.678gwy.com/wp-content/plugins/wp-rocket/’; $rocket_config_path = ‘/home/wwwroot/www.678gwy.com/wp-content/wp-rocket-config/’; $rocket_cache_path = ‘/home/wwwroot/www.678gwy.com/wp-content/cache/wp-rocket/’; if ( version_compare( phpversion(), ‘7.0’, ‘[LT]’ ) || ! file_exists( $rocket_path ) || ! file_exists( $rocket_config_path ) || ! file_exists( $rocket_cache_path ) ) { define( ‘WP_ROCKET_ADVANCED_CACHE_PROBLEM’, true ); return; } spl_autoload_register( function( $class ) use ( $rocket_path ) { $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\HTML_Formatter’ => $rocket_path
