summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-09-02 14:05:46 +0000
committerfoobar <sniper@php.net>2005-09-02 14:05:46 +0000
commit1890173d8cf36566c6ed2ae2e0912b2e5c805f74 (patch)
treedbea0f28de51fa3bfc50f11d8272635ad6e83a4e /main/main.c
parent8c4d1f66573863a3bd6131b8912ff3a279fa002e (diff)
downloadphp-git-1890173d8cf36566c6ed2ae2e0912b2e5c805f74.tar.gz
Revert
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/main/main.c b/main/main.c
index 6d275d1599..cb58163e24 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1415,17 +1415,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
le_index_ptr = zend_register_list_destructors_ex(NULL, NULL, "index pointer", 0);
- /* Initialize configuration_hash */
- if (php_init_config_hash() == FAILURE) {
- return FAILURE;
- }
-
- /* Register PHP core ini entries */
- REGISTER_INI_ENTRIES();
-
- /* Register Zend ini entries */
- zend_register_standard_ini_entries(TSRMLS_C);
-
/* this will read in php.ini, set up the configuration parameters,
load zend extensions and register php function extensions
to be loaded later */
@@ -1433,6 +1422,12 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
return FAILURE;
}
+ /* Register PHP core ini entries */
+ REGISTER_INI_ENTRIES();
+
+ /* Register Zend ini entries */
+ zend_register_standard_ini_entries(TSRMLS_C);
+
/* Disable realpath cache if safe_mode or open_basedir are set */
if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) {
CWDG(realpath_cache_size_limit) = 0;