From 54a90b691f83c21ded23b52ad7699e493a577779 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Feb 2013 11:00:04 +0400 Subject: [PATCH] Don't completely delete the "enabled condition". --- zend_accelerator_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.50.1