| Server IP : 104.21.21.239 / Your IP : 216.73.217.39 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/etd/wordpressbackupfinalWORKING/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
class DbCache_Page extends Base_Page_Settings {
/**
* Current page
*
* @var string
*/
protected $_page = 'w3tc_dbcache';
/**
* Database cache tab
*
* @return void
*/
function view() {
$dbcache_enabled = $this->_config->get_boolean( 'dbcache.enabled' );
include W3TC_INC_DIR . '/options/dbcache.php';
}
/**
* Database cluster config editor
*
* @return void
*/
function dbcluster_config() {
$this->_page = 'w3tc_dbcluster_config';
if ( Util_Environment::is_dbcluster() )
$content = @file_get_contents( W3TC_FILE_DB_CLUSTER_CONFIG );
else
$content = @file_get_contents( W3TC_DIR . '/ini/dbcluster-config-sample.php' );
include W3TC_INC_OPTIONS_DIR . '/enterprise/dbcluster-config.php';
}
}