mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02: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;
|
return;
|
||||||
|
|
||||||
// Disable the persistent cache if safe_mode is on.
|
// Disable the persistent cache if safe_mode is on.
|
||||||
if ( ini_get('safe_mode') )
|
if ( ini_get('safe_mode') && ! defined('ENABLE_CACHE') )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (defined('CACHE_PATH'))
|
if (defined('CACHE_PATH'))
|
||||||
|
Loading…
Reference in New Issue
Block a user