Re: [Coding Standards] Loading all files at once
| From: | Joshua Eichorn | Date: | Mon, 09 Jul 2007 21:29:45 +0000 |
| Subject: | Re: [Coding Standards] Loading all files at once | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47310@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney wrote:
I'm clueless as to what you're referring to here. I use PEAR, Solar, and Zend Framework regularly, and typically have them installed to a common directory, 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_path mess" that you're trying to solve with this? Trying making this work without setting your include path.Also note that you have a mix of autoload and normal includes, which may or may not give you the minimum # of required files. -josh