RE: [PEAR-DEV] Relativ Includes
| From: | Lukas Smith | Date: | Thu, 31 Oct 2002 17:53:59 +0000 |
| Subject: | RE: [PEAR-DEV] Relativ Includes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10390@lists.php.net to get a copy of this message | ||
> From: Mika Tuupola [mailto:tuupola@appelsiini.net]
> Sent: Thursday, October 31, 2002 7:01 PM
> To: Lukas Smith
> Cc: 'Martin Jansen'; 'Pierre-Alain Joye'; pear-dev@lists.php.net
> Subject: RE: [PEAR-DEV] Relativ Includes
>
> On Thu, 31 Oct 2002, Lukas Smith wrote:
>
> > my solution would force you to still have all your pear packages in
one
> > directory because otherwise you will run into issues with
> > [require|include]_once() again because PEAR.php will be included
> > multiple times etc.
>
> Then what is the difference with
>
> ini_set('include_path', '/foo/');
>
> ? Or am I totally missing something :)
1) I would not want to mess with that setting .. I don't even know if
you can in safe mode?
2) we get rid of having php search through the input paths, because we
point directly to the file .. so this should be faster
Regards,
Lukas