mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue