head.sub.php 파일 등을 사용자가 설정할 수 있도록 상수 추가

This commit is contained in:
chicpro
2015-01-23 09:48:36 +09:00
parent de00ac1622
commit aa86158caf
3 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,11 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 사용자가 지정한 tail.sub.php 파일이 있다면 include
if(defined('G5_TAIL_SUB_FILE') && is_file(G5_PATH.'/'.G5_TAIL_SUB_FILE)) {
include_once(G5_PATH.'/'.G5_TAIL_SUB_FILE);
return;
}
?>
<?php if ($is_admin == 'super') { ?><!-- <div style='float:left; text-align:center;'>RUN TIME : <?php echo get_microtime()-$begin_time; ?><br></div> --><?php } ?>