sitelock.user.html이 있을 경우 sitelock.html 대신 읽어들임

코어 업데이트로 인해 파일이 덮어씌워지더라도 사용자 편집 내용은 보존되게 하기 위함
This commit is contained in:
YJSoft 2014-06-24 10:05:43 +09:00
parent cf562710c2
commit 13ff5ab737

View file

@ -230,7 +230,14 @@ class Context
define('_XE_SITELOCK_MESSAGE_', $message);
header("HTTP/1.1 403 Forbidden");
include _XE_PATH_ . 'common/tpl/sitelock.html';
if(FileHandler::exists(_XE_PATH_ . 'common/tpl/sitelock.user.html'))
{
include _XE_PATH_ . 'common/tpl/sitelock.user.html';
}
else
{
include _XE_PATH_ . 'common/tpl/sitelock.html';
}
exit;
}
}