mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Do not catch all exceptions in index.php
This commit is contained in:
parent
664695553b
commit
48a570615a
1 changed files with 2 additions and 11 deletions
13
index.php
13
index.php
|
|
@ -53,18 +53,9 @@ if($oContext->checkSSO())
|
|||
{
|
||||
$oModuleHandler = new ModuleHandler();
|
||||
|
||||
try
|
||||
if($oModuleHandler->init())
|
||||
{
|
||||
if($oModuleHandler->init())
|
||||
{
|
||||
$oModuleHandler->displayContent($oModuleHandler->procModule());
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
htmlHeader();
|
||||
echo Context::getLang($e->getMessage());
|
||||
htmlFooter();
|
||||
$oModuleHandler->displayContent($oModuleHandler->procModule());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue