* 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");
}
?>