X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/3e05075cf3aeff4d23dc9eba7af236ea47cb919d..26597029170b946d20c6346182c56a0e7b570e72:/inc/init.inc diff --git a/inc/init.inc b/inc/init.inc index cee8691..2dc480f 100644 --- a/inc/init.inc +++ b/inc/init.inc @@ -26,14 +26,12 @@ * THE SOFTWARE. */ -require_once("mod_error-reporter/class_erErrorReportView.inc"); // this includes all the other things +// 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"); - -?> \ No newline at end of file +?>