RE: include_path
| From: | hans at linux dot gelrevision dot nl | Date: | Sat, 23 Jun 2001 21:10:02 +0000 |
| Subject: | RE: include_path | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-963@lists.php.net to get a copy of this message | ||
On 23-Jun-01 Gavin Cowie wrote:
> A quick note about this solution :
>
> Hans wrote:
>> $incP = ini_get("include_path");;
>> ini_set ("include_path", $incP . ":" . $clsDir);
>
> I develop on w2k and rsync to linux - I have to make sure I use a ";" on
> winblows and ":" on linux when updating the include_path.
>
> What fun!
Hmm, good to know, will ask some of the other developers to check it out (don't
use windows over here). I still think it's a bad idea that we need to alter the
include path. Working on more then 10 projects (php related) would create an
include_path longer then this email :( But then again, maybe I should just fix
it myself and tell the users to only use the versions we distribute ....
Thnx,
Hans
--
Linux : http://linux.gelrevision.nl/
phpReview : http://phpReview.nl.linux.org/
Boeken : http://nl.linux.org/boeken/