| Server IP : 138.197.162.186 / Your IP : 216.73.216.17 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/yogaensalada-site/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: DbCache_Page.php
*
* @package W3TC
*/
namespace W3TC;
/**
* Class DbCache_Page
*
* phpcs:disable PSR2.Classes.PropertyDeclaration.Underscore
* phpcs:disable WordPress.PHP.NoSilencedErrors.Discouraged
* phpcs:disable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
*/
class DbCache_Page extends Base_Page_Settings {
/**
* Current page
*
* @var string
*/
protected $_page = 'w3tc_dbcache';
/**
* Renders the database cache view page.
*
* @return void
*/
public function view() {
$dbcache_enabled = $this->_config->get_boolean( 'dbcache.enabled' );
include W3TC_INC_DIR . '/options/dbcache.php';
}
/**
* Configures the database cluster settings.
*
* @return void
*/
public function dbcluster_config() {
$this->_page = 'w3tc_dbcluster_config';
if ( Util_Environment::is_dbcluster( $this->_config ) ) {
$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';
}
}