// this includes all the other things
require_once("mod_error-reporter/class_erErrorReportView.inc");
+require_once("share.inc");
-$cfgErrors = new erConfig();
-require_once("mod_error-reporter/config.inc");
-
-$doc = new erErrorReportManager($cfgErrors);
-$view = new erErrorReportView($cfgErrors, $doc);
+$doc = new erErrorReportManager();
+$view = new erErrorReportView($doc);
$view->setDeleteURL("index.php?action=delete");
$view->setEditURL("detail.php");
?>