mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +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();
|
$oModuleHandler = new ModuleHandler();
|
||||||
|
|
||||||
try
|
if($oModuleHandler->init())
|
||||||
{
|
{
|
||||||
if($oModuleHandler->init())
|
$oModuleHandler->displayContent($oModuleHandler->procModule());
|
||||||
{
|
|
||||||
$oModuleHandler->displayContent($oModuleHandler->procModule());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch(Exception $e)
|
|
||||||
{
|
|
||||||
htmlHeader();
|
|
||||||
echo Context::getLang($e->getMessage());
|
|
||||||
htmlFooter();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue