PEAR is archived and read-only

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

Home » File Formats » File_IMC » Bug #2228

File_IMC::build() file_exists call fails

Details

Submitted2004-08-26 22:36 UTC
Fromscragz at hotmail dot com
Assignedpmjones
StatusNo Feedback
PackageFile_IMC
PHP Version4.3.4
OSDebian Sarge
Roadmaps(Not assigned)

Comments

[2004-08-26 22:36 UTC] scragz at hotmail dot com

Description:
------------
Since file_exists doesn't use the include_path and it is being passed a relative path, it fails to find the file.

Reproduce code:
---------------
You could try something like this:

$tmpPathInfo = pathinfo(__FILE__);

$filename = realpath($tmpPathInfo['dirname'].'/IMC/Build/'. $format . '.php');