updated plugin W3 Total Cache version 2.5.0

This commit is contained in:
2023-10-22 22:21:26 +00:00
committed by Gitium
parent 2f6b5b6047
commit 9e3fa792d7
255 changed files with 10113 additions and 23010 deletions

View File

@ -30,7 +30,7 @@ class DbCache_Page extends Base_Page_Settings {
*/
function dbcluster_config() {
$this->_page = 'w3tc_dbcluster_config';
if ( Util_Environment::is_dbcluster() )
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' );