For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > May 2005 > Re: [PEAR-QA] Re: [PEAR-CVS] cvs: pear /Image_Barcode ChangeLog Readme.txt barcode_im









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] Re: [PEAR-CVS] cvs: pear /Image_Barcode ChangeLog Readme.txt barcode_im
Daniel Convissor

2005-05-26, 8:57 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com