Re: MDB2 / LiveUser fileExists() problem with __autoload
| From: | Matthias Nothhaft | Date: | Wed, 12 Apr 2006 12:47:16 +0000 |
| Subject: | Re: MDB2 / LiveUser fileExists() problem with __autoload | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42204@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
> Matthias Nothhaft wrote:
>
>> Hi Lukas (and maybe other people using a similar method):
>>
>> If you have a framework that uses its own __autoload() implementation
>> instead of (as a full replacement for) include_path, you have a real
>> problem, because you have to hack MDB2 & LiveUser. :-(
>>
>> Maybe this could be solved by a callback?
>>
>> I would also suggest to rename fileExists() into isIncludable(). (but
>> only me poor opinion :-) )
>
>
> Well I actually just disabled __autoload() for the bulk of all includes
> in LiveUser and MDB2. Anyways both classes can be extended. Could you be
> more specific what you want and what you propose to change?
>
I just saw the latest changed in LiveUser (bug #7304),
this is probably the solution. I will check it.. Thanks.
Regards,
Matthias