DB_GETMODE_* problem

From: Date: Thu, 07 Sep 2000 16:47:04 +0000
Subject: DB_GETMODE_* problem
Groups: php.pear 
Request: Send a blank email to php-pear+get-233@lists.php.net to get a copy of this message
All, We have a little problem with this piece of code here in DB.php: /** * This constant DB's default get mode. It is possible to override by * defining in your scripts before including DB. */ if (!defined('DB_GETMODE_DEFAULT')) { define('DB_GETMODE_DEFAULT', DB_GETMODE_ORDERED); } What I've run into is that it's not possible to define DB_GETMODE_DEFAULT properly before including DB.php, because the DB_GETMODE_* constants are not yet available, and of course, it's not possible to define it later, because it's a constant. So, how do we correct this problem? -Andrei * "Lack of planning on your part doesn't consitute an emergency on my part." *

« previous php.pear (#233) next »