Home » Images » Image_Barcode » Bug #7693
Wrong include path
Details
| Submitted | 2006-05-22 11:34 UTC |
|---|---|
| From | pfornalski at iai-system dot com |
| Assigned | cweiske |
| Status | Closed |
| Package | Image_Barcode |
| PHP Version | 5.0.5 |
| OS | Linux 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