특정타이틀을 안나오게 하는 페이지를 추가하고싶습니다. if.. 채택완료

Copy
<?php
include_once "{$g4_mobile_path}/head.sub.php";

if ($_SERVER['PHP_SELF'] == '/mobile/index.php') {
}
else if ($board['bo_table']) {
    $header_title = array($board['bo_subject'], '', "{$g4_mobile_path}/menu/title1.menu.php");
} else if (!$header_title) {
    $header_title = array($current_page[2], '', "{$g4_mobile_path}/menu/title1.menu.php");
}
?>

지금은 /mobile/index.php에만 적용되어있는걸 

/mobile/introp.php 에도 동일하게 적용하고싶어요

개발자가 아니라ㅜㅜ 모르겠어서 질문드립니다.

답변 1개

채택된 답변
+20 포인트

if ($_SERVER['PHP_SELF'] == '/mobile/index.php' || $_SERVER['PHP_SELF'] == '/mobile/introp.php') {

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

빠른 답변 감사합니다!

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

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

로그인
🐛 버그신고