mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
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:
parent
ebffa9cc76
commit
080c0c2bb5
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user