Re: [Coding Standards] Loading all files at once
| From: | Joshua Eichorn | Date: | Mon, 09 Jul 2007 22:25:12 +0000 |
| Subject: | Re: [Coding Standards] Loading all files at once | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47333@lists.php.net to get a copy of this message | ||
Paul M Jones wrote:
OK, I can get on board with that. However, that still doesn't sound like an argument for "allfiles" -- it sounds more like an argument for the following: ....
That is, require/include should always be prefixed with PEAR2_PATH, so that users of third-party apps (which have their own include systems) can set the PEAR2_PATH value instead of working via set_include_path(). Looks ugly, I'll grant you, but I think it meets the flexibility requirement you mention.I would also like a way to turn off the includes in the files without editing every one of them, but that would be enough for me. -josh