diff -r 2cd8c1649ba9 -r 58094faf794d inc/database.inc.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/database.inc.php Tue Apr 10 22:40:43 2007 +0000 @@ -0,0 +1,59 @@ + trancer nl> | +// | Sjeemz sjeemz nl> | +// +--------------------------------------------------------------------+ + +// Filename: auth.inc.php +// Startdate: 26-10-2002 +// Description: Constructs the database class. +// +// $Id: database.inc.php,v 1.3 2002/12/27 02:45:08 azurazu Exp $ +// + +require_once("dal.inc.php"); + +function dbError($msg) +{ + // General function for printing critical errors. + include_once("header.inc.php"); + ?> +

Oops! An error occured!

+
+ getDebugInfo(); ?>

<< back

+ getMessage()); +} + +// Do an ASSOC fetch. Gives us the ability to use ["id"] fields. +$db->setFetchMode(DB_FETCHMODE_ASSOC); + + +/* erase info */ +$mysql_pass = $dsn = ''; + + +?>