getMessage(); print "
please make sure the database variables in dbconfig.php are set correctly. "; exit; } // perfoms simple query to test database structure.. if it fails, it prompts user // to check table structure. try { $check_result=checkDatabase(); if (!$check_result) { throw new Exception ("
the database does not appear to be set up correctly,
please make sure to run the install.php script if you haven't already done so.
If you have, then something may be wrong with your database. "); } } catch (Exception $e) { print $e->getMessage(); exit; } //if (registerSession()) {print "true";} else {print "false";} registerSession(); // sets the Session Variables from the database. setSessionVariables(); // if rss is requested.. rss is given. if ($_GET['rss']) { if ($_GET['rss']=='all') returnRSSfeed(0,0,1); else if ($_GET['rss']=='tag') returnRSSfeed(0,$_GET['tagid'],0); else if ($_GET['rss']=='pst') returnRSSfeed($_GET['pstid'],0,0); } print ""; print ""; printHead(); printBody(); print ""; ?>