diff options
author | Sascha Schumann <sas@php.net> | 2000-05-02 14:46:20 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-02 14:46:20 +0000 |
commit | fca9539d63bc60ae9621c690eadb5a662d987a75 (patch) | |
tree | 113f043695ecc07181af1c9c6a8edb9e37a895cd /main/main.c | |
parent | 8eb698a847912735fa471ec8142ec95c4e33d598 (diff) | |
download | php-git-fca9539d63bc60ae9621c690eadb5a662d987a75.tar.gz |
Preset extension_dir to the installation directory of PHP modules.
This effectively means that dl() will work without having an installed
configuration file.
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index 55424ac738..d5867655bd 100644 --- a/main/main.c +++ b/main/main.c @@ -209,7 +209,7 @@ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("default_charset", SAPI_DEFAULT_CHARSET, PHP_INI_ALL, OnUpdateString, default_charset, sapi_globals_struct,sapi_globals) STD_PHP_INI_ENTRY("default_mimetype",SAPI_DEFAULT_MIMETYPE, PHP_INI_ALL, OnUpdateString, default_mimetype, sapi_globals_struct,sapi_globals) STD_PHP_INI_ENTRY("error_log", NULL, PHP_INI_ALL, OnUpdateString, error_log, php_core_globals, core_globals) - STD_PHP_INI_ENTRY("extension_dir", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, extension_dir, php_core_globals, core_globals) + STD_PHP_INI_ENTRY("extension_dir", PHP_EXTENSION_DIR, PHP_INI_SYSTEM, OnUpdateStringUnempty, extension_dir, php_core_globals, core_globals) STD_PHP_INI_ENTRY("gpc_order", "GPC", PHP_INI_ALL, OnUpdateStringUnempty, gpc_order, php_core_globals, core_globals) STD_PHP_INI_ENTRY("include_path", NULL, PHP_INI_ALL, OnUpdateStringUnempty, include_path, php_core_globals, core_globals) STD_PHP_INI_ENTRY("max_execution_time", "30", PHP_INI_ALL, OnUpdateInt, max_execution_time, php_core_globals, core_globals) |