PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject » Bug #4601

using isfile instead of is_file

Details

Submitted2005-06-15 20:17 UTC
Fromjustin at halfempty dot org
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version5.0.4
OSWindows
Roadmaps(Not assigned)

Comments

[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);
}