diff options
author | foobar <sniper@php.net> | 2003-04-28 21:00:41 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-04-28 21:00:41 +0000 |
commit | fcc7633bd0969943a7db2ad8a27cdbdc5dd0664f (patch) | |
tree | 32784eb43d80514e2a7e844f43c2eaa6a41a69fd | |
parent | 77d490c8face3321344d861d95dddc65c3795184 (diff) | |
download | php-git-fcc7633bd0969943a7db2ad8a27cdbdc5dd0664f.tar.gz |
MFH
-rw-r--r-- | main/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/main.c b/main/main.c index 721bdf8f46..ac312c7163 100644 --- a/main/main.c +++ b/main/main.c @@ -266,8 +266,8 @@ static PHP_INI_MH(OnUpdateTimeout) * PHP_INCLUDE_PATH */ -#ifndef SAFE_MODE_EXEC_DIR -# define SAFE_MODE_EXEC_DIR "/" +#ifndef PHP_SAFE_MODE_EXEC_DIR +# define PHP_SAFE_MODE_EXEC_DIR "" #endif #ifdef PHP_PROG_SENDMAIL @@ -339,7 +339,7 @@ PHP_INI_BEGIN() 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("safe_mode_exec_dir", "", PHP_INI_SYSTEM, OnUpdateString, safe_mode_exec_dir, 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) STD_PHP_INI_ENTRY("upload_max_filesize", "2M", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateInt, upload_max_filesize, php_core_globals, core_globals) |