설치 스크립트 수정

This commit is contained in:
chicpro
2013-12-09 09:07:12 +09:00
parent 14fe0a4e03
commit 206cff9d34
2 changed files with 7 additions and 5 deletions

View File

@ -10,7 +10,7 @@ include_once ('../config.php');
$title = G5_VERSION." 초기환경설정 2/3";
include_once ('./install.inc.php');
if (isset($_POST['agree']) && $_POST['agree'] != '동의함') {
if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
echo "<div>라이센스(License) 내용에 동의하셔야 설치를 계속하실 수 있습니다.</div>".PHP_EOL;
echo "<div><a href=\"./\">뒤로가기</a></div>".PHP_EOL;
exit;