mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
#198 설치환경이 nginx일 경우, rewrite rule을 설정할 수 있도록 안내
This commit is contained in:
parent
30c5bb1971
commit
6603f8525c
3 changed files with 8 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ class installView extends install
|
|||
$_SESSION['use_rewrite'] = $useRewrite;
|
||||
Context::set('use_rewrite', $useRewrite);
|
||||
|
||||
// nginx 체크, rewrite 사용법 안내
|
||||
if($useRewrite == 'N' && stripos($_SERVER['SERVER_SOFTWARE'], 'nginx') !== false) Context::set('use_nginx', 'Y');
|
||||
|
||||
$this->setTemplateFile('check_env');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -650,6 +650,10 @@
|
|||
<value xml:lang="ko"><![CDATA[짧은 주소를 사용할 수 없습니다. 웹 서버 담당자에게 <strong>rewrite_mod</strong>지원 여부를 확인 바랍니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Required module for "Friendly URL" feature is not found. Please check with the web master about <strong>rewrite_mod</strong> module support.]]></value>
|
||||
</item>
|
||||
<item name="about_nginx_rewrite">
|
||||
<value xml:lang="ko"><![CDATA[Nginx를 사용할 경우, 짧은 주소를 사용하기 위하여 rewrite 설정이 필요합니다. 설정방법은 <a href="https://github.com/xpressengine/xe-core/wiki/Nginx-rewite-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0" target="_blank"><strong>여기</strong></a>를 참고하세요.]]></value>
|
||||
<value xml:lang="en"><![CDATA[For using "Friendly URL" feature at Nginx, need to configure rewrites at Nginx. show <a href="https://github.com/xpressengine/xe-core/wiki/Nginx-rewite-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0" target="_blank"><strong>here</strong></a>.]]></value>
|
||||
</item>
|
||||
<item name="time_zone">
|
||||
<value xml:lang="ko"><![CDATA[표준 시간대]]></value>
|
||||
<value xml:lang="en"><![CDATA[Time Zone]]></value>
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
<p>
|
||||
<i class="x_icon-ok-sign x_icon-white"></i>
|
||||
{$lang->disable_rewrite}
|
||||
<block cond="$use_nginx == 'Y'"><br> {$lang->about_nginx_rewrite}</block>
|
||||
</p>
|
||||
</div>
|
||||
<div class="ibtnArea">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue