그누스트랩 설치 직후 에러 질문입니다. 급해용

2017-04-02 (일) 01:47:21 4,721

설치후 아무것도 안건들고 로컬 들어가니

Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\theme\basic\head.sub.php on line 125 


이문구와 함께 페이지가 열리지 않습니다. ;;;


찾아보니 

Copy
<? if($index[wr_3] == 'normal') { ?><link rel="stylesheet" href="<?php echo G5_THEME_CSS_URL ?>/bootstrap.min.css?ver=<?php echo G5_CSS_VER; ?>" type="text/css" rel="stylesheet"><?php } else if ($index[wr_3] == 'edge') {?><link rel="stylesheet" href="<?php echo G5_THEME_CSS_URL ?>/bootstrap.min.css?ver=<?php echo G5_CSS_VER; ?>" type="text/css" rel="stylesheet"><link rel="stylesheet" href="<?php echo G5_THEME_CSS_URL ?>/bootstrap.min.radius.css?ver=<?php echo G5_CSS_VER; ?>" type="text/css" rel="stylesheet"> <?php } ?>


<?php } else if ($index[wr_3] == 'edge') {?>


저부분인데요..


왜그런걸까요 ;; 

|

답변 1개

2017-04-02 (일) 10:40:32

신텍스 에러시면 php 버전 한번 봐주세요.

5.0 이상에서는 잘 작동합니다. 

답변을 작성하려면 로그인이 필요합니다.