From: Dmitry Stogov Date: Thu, 14 Feb 2013 07:00:04 +0000 (+0400) Subject: Don't completely delete the "enabled condition". X-Git-Tag: php-5.5.0beta1~42^2~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54a90b691f83c21ded23b52ad7699e493a577779;p=php Don't completely delete the "enabled condition". --- diff --git a/zend_accelerator_module.c b/zend_accelerator_module.c index 807c2446a4..be0655adf3 100644 --- a/zend_accelerator_module.c +++ b/zend_accelerator_module.c @@ -470,7 +470,7 @@ static ZEND_FUNCTION(accelerator_get_status) array_init(return_value); /* Trivia */ - add_assoc_bool(return_value, "accelerator_enabled", 1); + add_assoc_bool(return_value, "accelerator_enabled", 1 /*ZCG(startup_ok) && ZCSG(accelerator_enabled)*/); add_assoc_bool(return_value, "cache_full", ZSMMG(memory_exhausted)); /* Memory usage statistics */