include path solution?
| From: | Stig S. Bakken | Date: | Wed, 06 Nov 2002 08:58:08 +0000 |
| Subject: | include path solution? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10493@lists.php.net to get a copy of this message | ||
Hi,
During the PHP Conference in Frankfurt, Andi and I had a little talk
about PEAR's include_path problems, and the solution we came up with was
simply to add separate functions for setting PHP's include_path. This
may sound a bit odd, but we hope that ISPs that disable ini_set() for
security reasons will not disable set_include_path(). We probably
should mention it in the PHP release notes, and emphasize on the fact
that setting include_path poses absolutely no security risk.
I implemented {get,set,restore}_include_path() in the airport on the way
back from Frankfurt, they will be part of the PHP 4.3 release.
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb