mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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:
parent
cc8bd1bed9
commit
4dcbfe9b37
@ -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…
Reference in New Issue
Block a user