diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 09baf8d1d..c3a86b43e 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -92,7 +92,7 @@ } // rewrite 모듈사용 상태 체크 - if(in_array('mod_rewrite',apache_get_modules())) $this->allow_rewrite = true; + if(file_exists('./htaccess')&&in_array('mod_rewrite',apache_get_modules())) $this->allow_rewrite = true; // 상대 경로 설정 $this->path = $this->getRequestUri();