date_default_timezone_set("Europe/Berlin"); function __autoload($className) { require_once "../libraries/".$className.".class.php"; } require_once "../libraries/constants.inc.php"; require_once "../configuration.php"; require_once "../libraries/commonFunctions.inc.php"; require_once("../libraries/registerExceptions.inc.php"); function outputExceptionError($exception) { if ($exception instanceof CustomException) { $text = $exception->getString(); // $exception->getExtendedCode(); } else { $text = $exception->getName().": [".$exception->getCode()."]: ".$exception->getMessage(); // $exception->getCode(); } outputError($text); } function outputError($text) { echo '