From 4dcbfe9b37e210098c2fd888682ed41abb866199 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 18 Jan 2006 22:21:40 +0000 Subject: [PATCH] Add ENABLE_CACHE flag to force persistent cache enable. git-svn-id: http://svn.automattic.com/wordpress/trunk@3462 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/cache.php b/wp-includes/cache.php index 7ad6422821..3ca913f139 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -397,7 +397,7 @@ class WP_Object_Cache { return; // Disable the persistent cache if safe_mode is on. - if ( ini_get('safe_mode') ) + if ( ini_get('safe_mode') && ! defined('ENABLE_CACHE') ) return; if (defined('CACHE_PATH'))