| Server IP : 206.189.29.70 / Your IP : 216.73.216.189 Web Server : Apache/2.4.52 (Ubuntu) System : Linux cwt-ubuntu22 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/ |
Upload File : |
<?php
/**
* Hummingbird Advanced Tools module
*
* @package Hummingbird
*/
if ( ! defined( 'ABSPATH' ) ) {
die();
}
/**
* Load necessary modules for caching.
*/
if ( ! class_exists( 'Hummingbird\\Core\\Modules\\Page_Cache' ) ) {
if ( defined( 'WP_ADMIN' ) && WP_ADMIN ) {
return;
}
if ( is_dir( WP_CONTENT_DIR . '/plugins/wp-hummingbird/' ) ) {
$plugin_path = WP_CONTENT_DIR . '/plugins/wp-hummingbird/';
} elseif ( is_dir( WP_CONTENT_DIR . '/plugins/hummingbird-performance/' ) ) {
$plugin_path = WP_CONTENT_DIR . '/plugins/hummingbird-performance/';
} else {
return;
}
if ( ! file_exists( $plugin_path . 'core/cache.php' ) ) {
return;
}
define( 'WPHB_ADVANCED_CACHE', true );
include_once $plugin_path . 'core/cache.php';
}