Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.18

Bug #4021 PEAR_Config file_exists can cause warnings
Submitted: 2005-03-31 21:18 UTC
From: kluge at ira dot uka dot de Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 4.3.1 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-31 21:18 UTC] kluge at ira dot uka dot de
Description: ------------ in PEAR/PEAR/Config.php on line 426 and 429 (pear version 1.3.5) - dissable warnings with @file_exists(..) will give no warnings if you have some hard restrictions for file operations: supposed changed line 426: if ($user_file && @file_exists($user_file)) { supposed changed line 429: if ($system_file && @file_exists($system_file)) { Reproduce code: --------------- if ($user_file && @file_exists($user_file)) { $this->readConfigFile($user_file); } if ($system_file && @file_exists($system_file)) { $this->mergeConfigFile($system_file, false, 'system'); } Expected result: ---------------- it will not send warnings anymore - so you can see images!!! Actual result: -------------- output of warnings when file operations are restricted to specific directories

Comments

 [2005-04-02 23:40 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!