mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
httpStatusCode 를 정수형으로 만들기
This commit is contained in:
parent
107996918e
commit
29507df48f
6 changed files with 12 additions and 12 deletions
|
|
@ -1138,7 +1138,7 @@ class boardView extends board
|
|||
{
|
||||
Context::set('message', lang($msg_code));
|
||||
|
||||
$this->setHttpStatusCode('403');
|
||||
$this->setHttpStatusCode(403);
|
||||
$this->setTemplateFile('message');
|
||||
}
|
||||
|
||||
|
|
@ -1191,7 +1191,7 @@ class boardView extends board
|
|||
$script = sprintf('<script> jQuery(function(){ alert("%s"); } );</script>', lang($message));
|
||||
Context::addHtmlFooter($script);
|
||||
|
||||
$this->setHttpStatusCode('403');
|
||||
$this->setHttpStatusCode(403);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue