mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
최종단계에서 Set http status message
This commit is contained in:
parent
13c6178a57
commit
de0b09f4e3
3 changed files with 6 additions and 7 deletions
|
|
@ -919,8 +919,6 @@ class ModuleHandler extends Handler
|
|||
$oMessageObject->setTemplateFile('http_status_code');
|
||||
}
|
||||
|
||||
self::_setHttpStatusMessage($oMessageObject->getHttpStatusCode());
|
||||
|
||||
// If module was called normally, change the templates of the module into ones of the message view module
|
||||
if($oModule)
|
||||
{
|
||||
|
|
@ -933,7 +931,7 @@ class ModuleHandler extends Handler
|
|||
{
|
||||
$oModule = $oMessageObject;
|
||||
}
|
||||
|
||||
|
||||
self::_clearErrorSession();
|
||||
}
|
||||
|
||||
|
|
@ -1051,7 +1049,10 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Set http status message
|
||||
self::_setHttpStatusMessage($oModule->getHttpStatusCode());
|
||||
|
||||
// Display contents
|
||||
$oDisplayHandler = new DisplayHandler();
|
||||
$oDisplayHandler->printContent($oModule);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue