쉬운 설치 서버를 가져올 수 없는 경우 헤더의 버튼 조작이 힘든 문제 고침

This commit is contained in:
BJRambo 2020-09-29 19:54:23 +09:00
parent b68d571a19
commit 8c03a0dee1
2 changed files with 8 additions and 1 deletions

View file

@ -440,7 +440,8 @@ class autoinstallAdminView extends autoinstall
if(!$updateDate)
{
throw new Rhymix\Framework\Exception('msg_connection_fail');
Context::set('isNotUpdate', true);
return;
}
$oModel = getModel('autoinstall');

View file

@ -25,6 +25,12 @@
</div>
<div id="__list_simple">
<!--@if($isNotUpdate)-->
<div class="message error">
<p>{$lang->msg_connection_fail}</p>
</div>
<!--@end-->
<div style="overflow:hidden;margin-bottom:10px">
<strong style="position:relative;top:10px">
<block cond="$current_category">{$current_category}</block>