ID:               26398
 User updated by:  dimitri at vinogradov dot de
 Reported By:      dimitri at vinogradov dot de
 Status:           Open
-Bug Type:         Feature/Change Request
+Bug Type:         SQLite related
 Operating System: irrelevant
 PHP Version:      Irrelevant
 New Comment:

Just changed Category to SQLite related...
(hm...  no PEAR related category more ??)


Previous Comments:
------------------------------------------------------------------------

[2003-11-25 06:07:26] 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 ([EMAIL PROTECTED]($file)) {
           return $this->raiseError($php_errormsg);
       }
and    (lineno 160)
       chmod($file, $mode);  
to
       if ([EMAIL PROTECTED]($file, $mode)) {
           return $this->raiseError($php_errormsg);
       }



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26398&edit=1

Reply via email to