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

Bug #292 DB::sqlite request for adding error control operator for function calls
Submitted: 2003-11-25 11:16 UTC
From: dimitri at vinogradov dot de Assigned: danielc
Status: Closed Package: DB
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2003-11-25 11:16 UTC] dimitri at vinogradov dot de
Description: ------------ File: DB/sqlite.php Method: sqlite::connect Linno: 157, 160 the failed calls of `touch` and `chmod` print warnings to browser instead of raisung an PEAR error. Suggest: change (lineno 157) touch($file); to if (!@touch($file)) { return $this->raiseError($php_errormsg); } and (lineno 160) chmod($file, $mode); to if (!@chmod($file, $mode)) { return $this->raiseError($php_errormsg); }

Comments

 [2003-11-28 08:52 UTC] dimitri at vinogradov dot de
Just correct PEAR category...
 [2004-01-06 08: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!