Add ENABLE_CACHE flag to force persistent cache enable.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-01-18 22:21:40 +00:00
parent cc8bd1bed9
commit 4dcbfe9b37
1 changed files with 1 additions and 1 deletions

View File

@ -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'))