Re: package validation (was Re: PHP_Beautifier-0.0.6.1)
| From: | Greg Beaver | Date: | Sun, 06 Jun 2004 19:35:19 +0000 |
| Subject: | Re: package validation (was Re: PHP_Beautifier-0.0.6.1) | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-1397@lists.php.net to get a copy of this message | ||
Stefan Neufeind wrote:
On 6 Jun 2004 at 14:38, Greg Beaver wrote:I would not oppose this, but I remember it being proposed in the past with great annoyance to some old-timers. This might be a can of worms :) GregStefan Neufeind wrote:Maybe even for a recommendation for pear-packages? Avoids loading wrong files if PEAR is first in the include-path.include dirname(__FILE__).'DB/mysql.php'; This would allow to use the correct drivers for the DB-class no matter where the DB-class was loaded from ... even if the directory wasn't in the include-path (or in the wrong place). Seems fine to me!This is indeed a simpler way to allow good relative includes, and is probably the better way to go with a recommendation for non-pear.