Re: [Coding Standards] Loading all files at once
| From: | Paul M Jones | Date: | Tue, 10 Jul 2007 13:16:33 +0000 |
| Subject: | Re: [Coding Standards] Loading all files at once | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47384@lists.php.net to get a copy of this message | ||
On Jul 10, 2007, at 8:10 AM, Matthew Weier O'Phinney wrote:
On 7/9/07, Arnaud Limbourg <arnaud@limbourg.com> wrote:Agreed. -- Paul M. Jones <http://paul-m-jones.com> Solar: Simple Object Library and Application Repository for PHP5. <http://solarphp.com> Join the Solar community wiki! <http://solarphp.org> Savant: The simple, elegant, and powerful solution for templates in PHP. <http://phpsavant.com>Matthew Weier O'Phinney wrote:I'm clueless as to what you're referring to here. I use PEAR,Solar, andZend Framework regularly, and typically have them installed to acommondirectory, leaving me with a simple include_path of: .:/path/to/pear and never have a problem, even when using __autoload() (check out Zend_Loader::registerAutoload() for a PEAR-friendly spl_autoload implementation, btw). Could you please elaborate on the"include_pathmess" that you're trying to solve with this?It is usually a problem with shared hosts eve though set_include_path() exists a lot of people don't seem to know about it/don't use it/cannot use it.Then it becomes an education issue, not something to code around.