X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/f6faefbedad2de5c5d4aa915f5a5f180039c055b..30c8dbb9db85a83ba05388adaaf553ed6466229c:/inc/init.inc?ds=sidebyside diff --git a/inc/init.inc b/inc/init.inc index 17aa443..2dc480f 100644 --- a/inc/init.inc +++ b/inc/init.inc @@ -28,12 +28,10 @@ // 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"); ?>