Re: Re: cvs: pear /Image_Barcode ChangeLog Readme.txt barcode_img.php package.xml test-image-barcode.php /Image_Barcode/Barcode Code39.php ean13.php
int25.php upca.php
| From: | Daniel Convissor | Date: | Thu, 26 May 2005 13:46:05 +0000 |
| Subject: | Re: Re: cvs: pear /Image_Barcode ChangeLog Readme.txt barcode_img.php package.xml test-image-barcode.php /Image_Barcode/Barcode Code39.php ean13.php int25.php upca.php |
||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2742@lists.php.net to get a copy of this message | ||
Hi Stephan:
On Thu, May 26, 2005 at 12:27:52AM +0200, Stephan Schmidt wrote:
> Please don't use file_exists(), as it does not check in your include
> path.
Oh yeah. Wasn't thinking about that aspect.
What DB does is provides a "debug" configuration option. This concept can
be used here. If "debug" is false, use the @ suppressed include, but if
"debug" is true, do a regular include.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409