mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Update SSO mechanism to use new domain system
This commit is contained in:
parent
4bde9f6c7b
commit
8cf3d7b520
3 changed files with 35 additions and 45 deletions
13
index.php
13
index.php
|
|
@ -47,17 +47,10 @@ $oContext = Context::getInstance();
|
|||
$oContext->init();
|
||||
|
||||
/**
|
||||
* @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module
|
||||
* @brief Initialize and execute Module Handler
|
||||
**/
|
||||
if($oContext->checkSSO())
|
||||
{
|
||||
$oModuleHandler = new ModuleHandler();
|
||||
|
||||
if($oModuleHandler->init())
|
||||
{
|
||||
$oModuleHandler->displayContent($oModuleHandler->procModule());
|
||||
}
|
||||
}
|
||||
$oModuleHandler = new ModuleHandler();
|
||||
$oModuleHandler->init() && $oModuleHandler->displayContent($oModuleHandler->procModule());
|
||||
|
||||
Context::close();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue