Re: PEAR file??
| From: | Greg Beaver | Date: | Wed, 25 Feb 2004 16:04:35 +0000 |
| Subject: | Re: PEAR file?? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178847@lists.php.net to get a copy of this message | ||
Hi Ben,
This is true for some packages, but most would simply not work, as any PEAR file that uses another PEAR file would require you to update your include_path so that ".." would simply fail.
For instance, look at Log.php. the factory method tries to include Log/drivername.php. DB's mysql driver includes DB/mysql.php, etc. etc.
Greg
Ben Ramsey wrote:
It's not a PEAR file. PEAR files are never included using ".."This is not true. I can download a PEAR package and use it as a standalone in my application without specifying a PEAR folder in the include_path in php.ini. I can also use it without using ini_set() to change the include_path. If I use it in this way, there would be files in my application that would need to include it using ".." :)