mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
sitelock.user.html이 있을 경우 sitelock.html 대신 읽어들임
코어 업데이트로 인해 파일이 덮어씌워지더라도 사용자 편집 내용은 보존되게 하기 위함
This commit is contained in:
parent
cf562710c2
commit
13ff5ab737
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue