Hello,
thank you for your report, I'll apply the changes suggested soon.
--
Papp, Győző (gerzson)
- gerzson@...
2002. november 8. 15:40 dátummal ezt írta:
| Hello Gerzson,
|
| I must say, very good job on the errorhandler class!
|
| I was just going through the process of upgrades on my windows
| development environment and my linux production environment and ran
| across an issue you may not be aware of.
|
| first of all the problem is not in the windows environment, but
| rather when the exactly same code gets deployed to production.
|
| It has to do with the php file exists cmd, I looked it up on php.net
| and noticed somebody else had a similar problem with this command in
| php 4.2.3 and not
| with errorhandler . He did exactly what i did, so rather than
| re-type, here is his comment
| *********************************************
| I am using Linux Red Hat 7.2
| I have just upgraded from
| Apache 1.3.x + PHP 4.2.1
| to
| Apache 2.0.43 + PHP 4.2.3
| and suddenly all my file_exists() started to fail. All I can say is
| adding getcwd() at the beginning makes it work again. Looks like
| something has changed in the way that file_exists() is working
| between 4.2.1 and 4.2.3.
|
| So file_exists ($file) fails but file_exists (getcwd() ."/". $file)
| works as expected
| *********************************************************************
|******* ************************
|
| you may want to adjust your class in the set_silent and handlerror
| methods to reflect getcwd addition to file_exists
|
| Keep up the excellent product!
|
| if you wish to contact me i am at the following email addresses
|
| during the day bhando@...
| night bhando@...
|
| Barrie