NOISSUE, rearrange some code in index.php

This commit is contained in:
ngleader 2014-05-11 22:10:22 +09:00
parent 83f146ed36
commit 393675942f

View file

@ -45,7 +45,7 @@ require dirname(__FILE__) . '/config/config.inc.php';
* @brief Initialize by creating Context object * @brief Initialize by creating Context object
* Set all Request Argument/Environment variables * Set all Request Argument/Environment variables
**/ **/
$oContext = &Context::getInstance(); $oContext = Context::getInstance();
$oContext->init(); $oContext->init();
/** /**
@ -59,8 +59,7 @@ if($oContext->checkSSO())
{ {
if($oModuleHandler->init()) if($oModuleHandler->init())
{ {
$oModule = &$oModuleHandler->procModule(); $oModuleHandler->displayContent($oModuleHandler->procModule());
$oModuleHandler->displayContent($oModule);
} }
} }
catch(Exception $e) catch(Exception $e)