Re: PEAR / include path
| From: | Pierre-Alain Joye | Date: | Sat, 05 Oct 2002 02:42:43 +0000 |
| Subject: | Re: PEAR / include path | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2439@lists.php.net to get a copy of this message | ||
On Sat, 5 Oct 2002 02:10:02 +0200
<zaphod@s4r.de> wrote:
> I do not think, you have got the problem:
I got it.
> Example:
>
> Lets imagine your include_path looks like this:
> include_path= ".;C:\PHP\A;C:\PHP\B"
>
> and unfortunatly there are two files:
>
> C:\PHP\A\module.php and C:\PHP\B\module.php
>
> So if your includepath looks like above, you have to
>
> set_ini('include_path','C:\PHP\B');
> include('module.php');
>
> to get the right module included. This is very odd!!
This point has been discussed already many times, sorry, you
have to normalize your source tree.
hth
pa