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

Bug #4601 using isfile instead of is_file
Submitted: 2005-06-15 20:17 UTC
From: justin at halfempty dot org Assigned: alan_k
Status: Closed Package: DB_DataObject
PHP Version: 5.0.4 OS: Windows
Roadmaps: (Not assigned)    
Subscription  


 [2005-06-15 20:17 UTC] justin at halfempty dot org
Description: ------------ DataObject/Generator.php:113 Recent changes to make use of sqlite names (thanks for that) added a call to isfile, which is non-existant function, though is_file could be put there. Reproduce code: --------------- $dsn = DB::parseDSN($database); if (($dsn['phptype'] == 'sqlite') && is_file($databasename)) { $t->_database = basename($t->_database); }

Comments

 [2005-06-16 02:10 UTC] alan_k
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. thanks