summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-01-07 18:39:11 +0000
committerZeev Suraski <zeev@php.net>2001-01-07 18:39:11 +0000
commit903018ef368754bace78ab341cb2eb5e6628bcf1 (patch)
tree3884adafa0f7b560891e5bffecae0ed134b6f922 /Zend/zend_alloc.c
parent7235542ceea62856d6cfd1adab9d90e271b08cd5 (diff)
downloadphp-git-903018ef368754bace78ab341cb2eb5e6628bcf1.tar.gz
- Remove backward dependency from PHP -> Zend
- Rename get_ini_entry() as get_configuration_directive() for clarity (it doesn't use the INI subsystem, but the module-supplied function for retrieving configuration directives)
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 1741ce211c..aeca8546fc 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -502,7 +502,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache)
/* we're shutting down completely, don't even touch the INI subsystem */
break;
}
- if (zend_get_ini_entry("display_memory_cache_stats", sizeof("display_memory_cache_stats"), &display_memory_cache_stats)==FAILURE) {
+ if (zend_get_configuration_directive("display_memory_cache_stats", sizeof("display_memory_cache_stats"), &display_memory_cache_stats)==FAILURE) {
break;
}
if (!atoi(display_memory_cache_stats.value.str.val)) {