2004-08-10, 04:53 AM
It would be nice if all the database table references were constants so that it would be easier to integrate myBB into other services.
eg.
define ('USERS_TABLE','user');
$db->query('SELECT something FROM ' . USERS_TABLE . ' WHERE blah = blah');
eg.
define ('USERS_TABLE','user');
$db->query('SELECT something FROM ' . USERS_TABLE . ' WHERE blah = blah');