PATCH: support added for 'html_error' configuration setting in php.ini-dist
| From: | Daniel Beckham | Date: | Tue, 19 Jun 2001 19:49:35 +0000 |
| Subject: | PATCH: support added for 'html_error' configuration setting in php.ini-dist | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57300@lists.php.net to get a copy of this message | ||
A co-worker of mine recently found an undocumented configuration setting in
the php source that turns off the HTML tags in PHP error messages.
If someone will commit this patch, I'll add it to the phpdoc tree also.
Regards,
Daniel
Index: php.ini-dist
===================================================================
RCS file: /repository/php4/php.ini-dist,v
retrieving revision 1.83
diff -u -r1.83 php.ini-dist
--- php.ini-dist 11 Jun 2001 15:43:50 -0000 1.83
+++ php.ini-dist 19 Jun 2001 19:46:54 -0000
@@ -234,6 +234,9 @@
; Warn if the + operator is used with strings.
warn_plus_overloading = Off
+; Turn off HTML tags in error messages.
+;html_errors = Off
+
;;;;;;;;;;;;;;;;;
; Data Handling ;