Add ENABLE_CACHE flag to force persistent cache enable.

git-svn-id: https://develop.svn.wordpress.org/trunk@3462 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-01-18 22:21:40 +00:00
parent ebffa9cc76
commit 080c0c2bb5
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'))