diff --git a/index.php b/index.php index 3698d0757..7123a957b 100644 --- a/index.php +++ b/index.php @@ -55,11 +55,11 @@ if(true) { foreach($GLOBALS['SEEDDMS_HOOKS']['initDMS'] as $hookObj) { if (method_exists($hookObj, 'addRoute')) { $hookObj->addRoute(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings)); - } else { - include("inc/inc.Authentication.php"); - if (method_exists($hookObj, 'addRouteAfterAuthentication')) { - $hookObj->addRouteAfterAuthentication(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'user'=>$user)); - } +// } else { +// include("inc/inc.Authentication.php"); +// if (method_exists($hookObj, 'addRouteAfterAuthentication')) { +// $hookObj->addRouteAfterAuthentication(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'user'=>$user)); +// } } } }