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 ".."
:)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php