Change sitelock HTTP code to 503 Service Unavailable

This commit is contained in:
Kijin Sung 2016-02-08 22:25:56 +09:00
parent 605fdec1a2
commit dcba0bec58

View file

@ -1442,7 +1442,7 @@ class Context
define('_XE_SITELOCK_TITLE_', config('lock.title'));
define('_XE_SITELOCK_MESSAGE_', config('lock.message'));
header("HTTP/1.1 403 Forbidden");
header('HTTP/1.1 503 Service Unavailable');
if(FileHandler::exists(RX_BASEDIR . 'common/tpl/sitelock.user.html'))
{
include RX_BASEDIR . 'common/tpl/sitelock.user.html';