| Server IP : 52.202.253.110 / Your IP : 216.73.217.139 Web Server : Apache/2.4.56 (Amazon Linux) OpenSSL/3.0.8 System : Linux ip-172-32-10-67.ec2.internal 6.1.49-70.116.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 6 22:13:07 UTC 2023 x86_64 User : ec2-user ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/cirrata_html/wp-content/ |
Upload File : |
<?php
/**
* Cache Enabler advanced cache
*
* @since 1.2.0
* @change 1.7.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* set the CACHE_ENABLER_DIR constant without trailing slash in your wp-config.php file if the plugin resides
* somewhere other than path/to/wp-content/plugins/cache-enabler
*/
if ( defined( 'CACHE_ENABLER_DIR' ) ) {
$cache_enabler_dir = CACHE_ENABLER_DIR;
} else {
$cache_enabler_dir = ( ( defined( 'WP_PLUGIN_DIR' ) ) ? WP_PLUGIN_DIR : WP_CONTENT_DIR . '/plugins' ) . '/cache-enabler';
}
$cache_enabler_engine_file = $cache_enabler_dir . '/inc/cache_enabler_engine.class.php';
$cache_enabler_disk_file = $cache_enabler_dir . '/inc/cache_enabler_disk.class.php';
if ( file_exists( $cache_enabler_engine_file ) && file_exists( $cache_enabler_disk_file ) ) {
require_once $cache_enabler_engine_file;
require_once $cache_enabler_disk_file;
}
if ( class_exists( 'Cache_Enabler_Engine' ) ) {
$cache_enabler_engine_started = Cache_Enabler_Engine::start();
if ( $cache_enabler_engine_started ) {
$cache_enabler_cache_delivered = Cache_Enabler_Engine::deliver_cache();
if ( ! $cache_enabler_cache_delivered ) {
Cache_Enabler_Engine::start_buffering();
}
}
}