21 lines
610 B
PHP
21 lines
610 B
PHP
<?php
|
|
if (!defined('_GNUBOARD_'))
|
|
exit; // 개별 페이지 접근 불가
|
|
|
|
include_once G5_BBS_PATH . '/_head.php';
|
|
|
|
if(is_include_path_check($board['bo_include_head'])) {
|
|
@include $board['bo_include_head'];
|
|
}
|
|
|
|
/**
|
|
* origin code from https://extrashot.tistory.com
|
|
* @author Extra Shot
|
|
*/
|
|
if ($board['bo_use_pass']) {
|
|
//@230623 세션 저장 방식 변경
|
|
$ss_bo_name = "bo_pass_{$board["bo_table"]}";
|
|
if (!$is_admin && !get_session($ss_bo_name)) {
|
|
goto_url("./password.php?w=bs&bo_table={$bo_table}&sfl={$sfl}&stx={$stx}&sop={$sop}&wr_id={$wr_id}&page={$page}");
|
|
}
|
|
}
|