| 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/plugins/cache-enabler/ |
Upload File : |
<?php
/**
* The advanced-cache.php drop-in file for Cache Enabler.
*
* The advanced-cache.php creation method uses this during the disk setup and
* requirements check. You can copy this file to the wp-content directory and edit
* the $cache_enabler_constants_file value as needed. If your web server supports it,
* you may also symlink this file into wp-content; no editing is needed in that case.
* The copy/symlink will automatically delete itself if stale or abandoned.
*
* @since 1.2.0
* @change 1.8.6
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$cache_enabler_constants_file = realpath(__DIR__) . '/constants.php';
if ( file_exists( $cache_enabler_constants_file ) ) {
require $cache_enabler_constants_file;
$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 ( Cache_Enabler_Engine::start() && ! Cache_Enabler_Engine::deliver_cache() ) {
Cache_Enabler_Engine::start_buffering();
}
}
} elseif ( __DIR__ === WP_CONTENT_DIR ) {
@unlink( __FILE__ );
}