From: Hannes Magnusson Date: Tue, 9 Dec 2008 10:23:44 +0000 (+0000) Subject: Whoops. Missing bit from the open_basedir tightening MFH X-Git-Tag: php-5.3.0beta1~484 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9bc85a19b7f9786b71fc382062414896d2de86c;p=php Whoops. Missing bit from the open_basedir tightening MFH --- diff --git a/main/main.c b/main/main.c index df91aa2615..d5df677b57 100644 --- a/main/main.c +++ b/main/main.c @@ -429,7 +429,7 @@ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("extension_dir", PHP_EXTENSION_DIR, PHP_INI_SYSTEM, OnUpdateStringUnempty, extension_dir, php_core_globals, core_globals) STD_PHP_INI_ENTRY("include_path", PHP_INCLUDE_PATH, PHP_INI_ALL, OnUpdateStringUnempty, include_path, php_core_globals, core_globals) PHP_INI_ENTRY("max_execution_time", "30", PHP_INI_ALL, OnUpdateTimeout) - STD_PHP_INI_ENTRY("open_basedir", NULL, PHP_INI_SYSTEM, OnUpdateString, open_basedir, php_core_globals, core_globals) + STD_PHP_INI_ENTRY("open_basedir", NULL, PHP_INI_ALL, OnUpdateBaseDir, open_basedir, php_core_globals, core_globals) STD_PHP_INI_ENTRY("safe_mode_exec_dir", PHP_SAFE_MODE_EXEC_DIR, PHP_INI_SYSTEM, OnUpdateString, safe_mode_exec_dir, php_core_globals, core_globals) STD_PHP_INI_BOOLEAN("file_uploads", "1", PHP_INI_SYSTEM, OnUpdateBool, file_uploads, php_core_globals, core_globals)