From: Ilia Alshanetsky Date: Wed, 28 Oct 2009 13:04:42 +0000 (+0000) Subject: Lower the max upload default to 20 X-Git-Tag: php-5.3.2RC1~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dae9275fc511a6aec3b402a8ef81044ecab0f7a;p=php Lower the max upload default to 20 --- diff --git a/main/main.c b/main/main.c index 08f3cdc3e3..4d39dfd61f 100644 --- a/main/main.c +++ b/main/main.c @@ -515,7 +515,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_SYSTEM, OnUpdateBool, allow_url_fopen, php_core_globals, core_globals) STD_PHP_INI_BOOLEAN("allow_url_include", "0", PHP_INI_SYSTEM, OnUpdateBool, allow_url_include, php_core_globals, core_globals)