updated plugin W3 Total Cache
version 2.5.0
This commit is contained in:
@ -25,7 +25,7 @@ class DbCache_Wpdb extends DbCache_WpdbBase {
|
||||
if ( !$is_installing && $config->get_boolean( 'dbcache.enabled' ) ) {
|
||||
$processors[] = new DbCache_WpdbInjection_QueryCaching();
|
||||
}
|
||||
if ( Util_Environment::is_dbcluster() ) {
|
||||
if ( Util_Environment::is_dbcluster( $config ) ) {
|
||||
// dbcluster use mysqli only since other is obsolete now
|
||||
if ( !defined( 'WP_USE_EXT_MYSQL' ) ) {
|
||||
define( 'WP_USE_EXT_MYSQL', false );
|
||||
|
Reference in New Issue
Block a user