Re: Disabling ini_set & PEAR.php
| From: | Stig S. Bakken | Date: | Sun, 17 Nov 2002 00:04:37 +0000 |
| Subject: | Re: Disabling ini_set & PEAR.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10874@lists.php.net to get a copy of this message | ||
On Thu, 2002-11-14 at 15:29, BUSTARRET, Jean-Francois wrote:
> For security reasons, I want to disable ini_set in my php.ini, because I don't want users
> to change anything.
>
> PEAR.php uses ini_set to set track_errors. Looks like $php_errormsg is only used in the admin
> scripts.
>
> Can we move ini_set to those scripts ?
Wouldn't it be enough to @silence the ini_set() call?
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb