cvs: php4 /main main.c
| From: | Jani Taskinen | Date: | Mon, 08 Apr 2002 07:58:47 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10967@lists.php.net to get a copy of this message | ||
sniper Mon Apr 8 03:58:47 2002 EDT
Modified files:
/php4/main main.c
Log:
upload_max_filesize can only be set in php.ini
Index: php4/main/main.c
diff -u php4/main/main.c:1.441 php4/main/main.c:1.442
--- php4/main/main.c:1.441 Sat Apr 6 13:49:58 2002
+++ php4/main/main.c Mon Apr 8 03:58:47 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.441 2002/04/06 18:49:58 helly Exp $ */
+/* $Id: main.c,v 1.442 2002/04/08 07:58:47 sniper Exp $ */
/* {{{ includes
*/
@@ -272,7 +272,7 @@
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)