PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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