RE: [PEAR] Undeclared function loading DB/mysql.php
| From: | LIMBOURG Arnaud | Date: | Mon, 13 Jan 2003 14:50:57 +0000 |
| Subject: | RE: [PEAR] Undeclared function loading DB/mysql.php | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3278@lists.php.net to get a copy of this message | ||
> As I already wrote above, DB/mysql.php should never be used
> directly. Because of this there is no need for mysql.php to load
> the files again which have already been loaded by DB.php.
So there is no need to add a require 'PEAR.php' in DB_Common anyway. require
DB.php is all that is needed as you point out.
Adding a require ib db/common.php just adds useless overhead.
> Anyways, I've commited a patch to CVS that fixes this
> "problem" by loading PEAR.php in DB/Common.php.