iliaa                                    Wed, 28 Oct 2009 13:04:42 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290029

Log:
Lower the max upload default to 20

Changed paths:
    U   php/php-src/branches/PHP_5_2/main/main.c
    U   php/php-src/branches/PHP_5_3/main/main.c
    U   php/php-src/trunk/main/main.c

Modified: php/php-src/branches/PHP_5_2/main/main.c
===================================================================
--- php/php-src/branches/PHP_5_2/main/main.c    2009-10-28 13:03:21 UTC (rev 
290028)
+++ php/php-src/branches/PHP_5_2/main/main.c    2009-10-28 13:04:42 UTC (rev 
290029)
@@ -452,7 +452,7 @@
        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)

Modified: php/php-src/branches/PHP_5_3/main/main.c
===================================================================
--- php/php-src/branches/PHP_5_3/main/main.c    2009-10-28 13:03:21 UTC (rev 
290028)
+++ php/php-src/branches/PHP_5_3/main/main.c    2009-10-28 13:04:42 UTC (rev 
290029)
@@ -515,7 +515,7 @@
        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)

Modified: php/php-src/trunk/main/main.c
===================================================================
--- php/php-src/trunk/main/main.c       2009-10-28 13:03:21 UTC (rev 290028)
+++ php/php-src/trunk/main/main.c       2009-10-28 13:04:42 UTC (rev 290029)
@@ -602,7 +602,7 @@
        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)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to