]> granicus.if.org Git - php/commitdiff
upload_max_filesize can only be set in php.ini
authorfoobar <sniper@php.net>
Mon, 8 Apr 2002 07:58:47 +0000 (07:58 +0000)
committerfoobar <sniper@php.net>
Mon, 8 Apr 2002 07:58:47 +0000 (07:58 +0000)
main/main.c

index e9717b73ac1d22e39450415bbf3fe6aa20ab6082..45e9a1d77706dca108ad6a7c480bd1be56fa6992 100644 (file)
@@ -272,7 +272,7 @@ PHP_INI_BEGIN()
        PHP_INI_ENTRY("max_execution_time",                     "30",           PHP_INI_ALL,                    OnUpdateTimeout)
        STD_PHP_INI_ENTRY("open_basedir",                       NULL,           PHP_INI_SYSTEM,         OnUpdateStringUnempty,  open_basedir,                   php_core_globals,       core_globals)
        STD_PHP_INI_ENTRY("safe_mode_exec_dir",         "1",            PHP_INI_SYSTEM,         OnUpdateString,                 safe_mode_exec_dir,             php_core_globals,       core_globals)
-       STD_PHP_INI_ENTRY("upload_max_filesize",        "2M",           PHP_INI_ALL,            OnUpdateInt,                    upload_max_filesize,    php_core_globals,       core_globals)
+       STD_PHP_INI_ENTRY("upload_max_filesize",        "2M",           PHP_INI_SYSTEM,         OnUpdateInt,                    upload_max_filesize,    php_core_globals,       core_globals)
        STD_PHP_INI_ENTRY("file_uploads",                       "1",            PHP_INI_ALL,            OnUpdateBool,                   file_uploads,                   php_core_globals,       core_globals)
        STD_PHP_INI_ENTRY("post_max_size",                      "8M",           PHP_INI_SYSTEM,         OnUpdateInt,                    post_max_size,                  sapi_globals_struct,sapi_globals)
        STD_PHP_INI_ENTRY("upload_tmp_dir",                     NULL,           PHP_INI_SYSTEM,         OnUpdateStringUnempty,  upload_tmp_dir,                 php_core_globals,       core_globals)