mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 21:16:07 +00:00
remove hook 'addRooteAfterAuthentication'
it's just noch working this way
This commit is contained in:
parent
aa271f6648
commit
98965f109f
10
index.php
10
index.php
|
@ -55,11 +55,11 @@ if(true) {
|
||||||
foreach($GLOBALS['SEEDDMS_HOOKS']['initDMS'] as $hookObj) {
|
foreach($GLOBALS['SEEDDMS_HOOKS']['initDMS'] as $hookObj) {
|
||||||
if (method_exists($hookObj, 'addRoute')) {
|
if (method_exists($hookObj, 'addRoute')) {
|
||||||
$hookObj->addRoute(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings));
|
$hookObj->addRoute(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings));
|
||||||
} else {
|
// } else {
|
||||||
include("inc/inc.Authentication.php");
|
// include("inc/inc.Authentication.php");
|
||||||
if (method_exists($hookObj, 'addRouteAfterAuthentication')) {
|
// if (method_exists($hookObj, 'addRouteAfterAuthentication')) {
|
||||||
$hookObj->addRouteAfterAuthentication(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'user'=>$user));
|
// $hookObj->addRouteAfterAuthentication(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'user'=>$user));
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user