update scripts: safely exit 0 on exit
[iserv-mod-error-reporter.git] / nav / 79mod_error-reporter.mod
index 4be0da5..ababc04 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
-require_once("mod_error-reporter/init.inc");
-if($cfgErrors->userHasAccess()) {
-  TreeNode(_c("error-reporter:Report an error"), "mod_error-reporter/index.php", "mod_error-reporter");
+require_once("mod_error-reporter/class_erConfig.inc");
+
+if(erConfig::userHasAccess()) {
+  TreeNode(_c("error-reporter:Report an error"), "mod_error-reporter/index.php",
+    "mod_error-reporter");
 }
 ?>
This page took 0.022022 seconds and 4 git commands to generate.