Re: package validation (was Re: PHP_Beautifier-0.0.6.1)

From: Date: Sun, 06 Jun 2004 18:38:14 +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-1395@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
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. Greg

« previous php.pear.qa (#1395) next »