Re: Re: mdb2 question
| From: | Lukas Smith | Date: | Sat, 27 Nov 2004 07:08:39 +0000 |
| Subject: | Re: Re: mdb2 question | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15848@lists.php.net to get a copy of this message | ||
atu wrote:
that function doesnt check the include path .. anyways in the new version of MDB2 I loop across the exploded include path setting and call file_exists(). regards, Lukas -- Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07From: "Lukas Smith" <smith@backendmedia.com>correct .. like I said the loadModule method can load different types of methods that have different structures. since there is no effective way to check if a file resides inside the include path I have used the @ operator to handle this. in the next version if MDB2 this will be handled in a nicer (yet slower fashion).what about file_exists() ?