getMessage() . "
\n
\n" ."Please notify the site administrator (webmaster at tigris dot fanir dot de) and include the information in the box below:
\n" .""; exit($e->getCode()); } set_exception_handler('handle_exception'); // Connect to DB try { $db = new PDO(DB_DSN, DB_USER, DB_PASS); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { throw new Exception('Cannot connect to database', 16, $e); } // Load database abstraction require('database.inc.php'); // Load helper functions require('helpers.inc.php');