PEAR is archived and read-only

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

Home » Images » Image_Barcode » Bug #7693

Wrong include path

Details

Submitted2006-05-22 11:34 UTC
Frompfornalski at iai-system dot com
Assignedcweiske
StatusClosed
PackageImage_Barcode
PHP Version5.0.5
OSLinux Red Hat EL
Roadmaps(Not assigned)

Comments

[2006-05-22 11:34 UTC] pfornalski at iai-system dot com

Description:
------------
In file Image\Barcode.php there is something wrong. After I've moved pear to another directory (to limit open_basedir) it this file still tried to include files from /usr/local/lib/php which is default installation directory. I've already changed all config settings to point on new directory. I've tried also to find how it is resolved in another packages, but only Image_Barcode refers to PEAR_INSTALL_DIR in that case. I've changed this line on new directory path and it resolved problem. But I think it should be changed to allow people to move pear, without code fixing in order to increase security.

Expected result:
----------------
Change used constant in line 66 in Image\Barcode.php