]> granicus.if.org Git - php/commitdiff
Lower the max upload default to 20
authorIlia Alshanetsky <iliaa@php.net>
Wed, 28 Oct 2009 13:04:42 +0000 (13:04 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 28 Oct 2009 13:04:42 +0000 (13:04 +0000)
main/main.c

index ac5a502a19404ebe4d0e28d24333e21454eebc93..dd9e409bb3c0087b1004fe979099deffc135eccb 100644 (file)
@@ -602,7 +602,7 @@ PHP_INI_BEGIN()
        PHP_INI_ENTRY("mail.force_extra_parameters",NULL,               PHP_INI_SYSTEM|PHP_INI_PERDIR,          OnChangeMailForceExtra)
        PHP_INI_ENTRY("disable_functions",                      "",                     PHP_INI_SYSTEM,         NULL)
        PHP_INI_ENTRY("disable_classes",                        "",                     PHP_INI_SYSTEM,         NULL)
-       PHP_INI_ENTRY("max_file_uploads",                       "100",                  PHP_INI_SYSTEM,         NULL)
+       PHP_INI_ENTRY("max_file_uploads",                       "20",                   PHP_INI_SYSTEM,         NULL)
 
        STD_PHP_INI_BOOLEAN("allow_url_fopen",          "1",            PHP_INI_ALL,            OnUpdateAllowUrl,       allow_url_fopen_list,   php_core_globals,       core_globals)
        STD_PHP_INI_BOOLEAN("allow_url_include",        "0",            PHP_INI_ALL,            OnUpdateAllowUrl,       allow_url_include_list, php_core_globals,       core_globals)