Re: Re: MDB2 beta1 problem
| From: | Lukas Smith | Date: | Fri, 23 Apr 2004 10:03:48 +0000 |
| Subject: | Re: Re: MDB2 beta1 problem | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12082@lists.php.net to get a copy of this message | ||
Hodicska Gergely wrote:
Hi!yeah maybe that is a solution .. but actually this is still probably going to call error callbacks. so the only solution would be to write my own is_includeable in php .. nasty nasty regards, 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 07unforunately that doesnt work as internals@ doesnt think a method to detect if a file is includeable is useful. is_readable() doesnt use the include_pathMaybe you can use something like this: ob_start(); include($file); $error = ob_get_contents(); ob_end_clean(); if ($error != '') {// eroro handling - trigger_error();}