cvs: /php3 mod_php3.c
| From: | Rasmus Lerdorf | Date: | Sun, 30 Jan 2000 21:25:21 +0000 |
| Subject: | cvs: /php3 mod_php3.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15062@lists.php.net to get a copy of this message | ||
rasmus Sun Jan 30 22:25:21 2000 EDT
Modified files:
/php3 mod_php3.c
Log:
Don't allow users to change the sendmail_path in their .htaccess files
Index: php3/mod_php3.c
diff -u php3/mod_php3.c:1.99 php3/mod_php3.c:1.100
--- php3/mod_php3.c:1.99 Sat Jan 29 20:33:04 2000
+++ php3/mod_php3.c Sun Jan 30 22:25:21 2000
@@ -27,7 +27,7 @@
| (with helpful hints from Dean Gaudet <dgaudet@arctic.org> |
+----------------------------------------------------------------------+
*/
-/* $Id: mod_php3.c,v 1.99 2000/01/29 19:33:04 rasmus Exp $ */
+/* $Id: mod_php3.c,v 1.100 2000/01/30 21:25:21 rasmus Exp $ */
#include "httpd.h"
#include "http_config.h"
@@ -609,7 +609,7 @@
{"php3_arg_separator", php3take1handler, (void *)10, OR_OPTIONS, TAKE1, "GET method
arg separator"},
{"php3_max_execution_time", php3take1handler, (void *)11, OR_OPTIONS, TAKE1, "Max
script run time in seconds"},
{"php3_memory_limit", php3take1handler, (void *)12, OR_OPTIONS, TAKE1, "Max memory
in bytes a script may use"},
- {"php3_sendmail_path", php3take1handler, (void *)13, OR_OPTIONS, TAKE1, "Full path
to sendmail binary"},
+ {"php3_sendmail_path", php3take1handler, (void *)13, ACCESS_CONF|RSRC_CONF, TAKE1,
"Full path to sendmail binary"},
{"php3_browscap", php3take1handler, (void *)14, OR_OPTIONS, TAKE1, "Full path to
browscap file"},
{"php3_gpc_order", php3take1handler, (void *)15, OR_OPTIONS, TAKE1, "Set
GET-COOKIE-POST order [default is GPC]"},
{"php3_error_prepend_string", php3take1handler, (void *)16, OR_OPTIONS, TAKE1,
"String to add before an error message from PHP"},