>>>>>> f40cfc08dc1a42a24c3acd0ebaee829f94dccd3a $port = $_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : ''; $http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 's' : '') . '://'; $result = array(); // 윈도우의 경우 역슬레쉬 경로인데 그다지 권장하지 않는다. php에서는 슬레쉬도 경로 인자로 인식하므로 슬레쉬 사용. $result['path'] = $linux_dir; $result['url'] = $http.$_SERVER['SERVER_NAME'].$port.$base_dir; $result['curr_url'] = $http.$_SERVER['SERVER_NAME'].$port.$_SERVER['PHP_SELF']; $result['curr_uri'] = $result['curr_url'] . ($_SERVER['QUERY_STRING'] ? '?'.$_SERVER['QUERY_STRING'] : ''); */ return $result; } $g4_path = g4_path(); include_once($g4_path['path'].'/config.php'); // 설정 파일 unset($g4_path); //============================================================================== // 공통 //------------------------------------------------------------------------------ $dbconfig_file = G4_DATA_PATH.'/'.G4_DBCONFIG_FILE; if (file_exists($dbconfig_file)) { include_once($dbconfig_file); include_once(G4_LIB_PATH.'/common.lib.php'); // 공통 라이브러리 $connect_db = sql_connect(G4_MYSQL_HOST, G4_MYSQL_USER, G4_MYSQL_PASSWORD) or die('MySQL Connect Error!!!'); $select_db = sql_select_db(G4_MYSQL_DB, $connect_db) or die('MySQL DB Error!!!'); @mysql_query(" set names utf8 "); } else { ?> 오류! 그누보드4S 설치하기

오류가 있습니다.

다음 파일을 찾을 수 없습니다.

프로그램 설치 후 실행하시기 바랍니다.

그누보드4S 설치하기
window.location.reload(); "; exit; } } // $row 배열변수 해제 unset($row); } } // 자동로그인 end --------------------------------------- } $write = array(); $write_table = ""; if ($bo_table) { $board = sql_fetch(" select * from {$g4['board_table']} where bo_table = '$bo_table' "); if ($board['bo_table']) { set_cookie("ck_bo_table", $board['bo_table'], 86400 * 1); $gr_id = $board['gr_id']; $write_table = $g4['write_prefix'] . $bo_table; // 게시판 테이블 전체이름 //$comment_table = $g4['write_prefix'] . $bo_table . $g4['comment_suffix']; // 코멘트 테이블 전체이름 if (isset($wr_id) && $wr_id) $write = sql_fetch(" select * from $write_table where wr_id = '$wr_id' "); } } if ($gr_id) { $group = sql_fetch(" select * from {$g4['group_table']} where gr_id = '$gr_id' "); } // 회원, 비회원 구분 $is_member = $is_guest = false; $is_admin = ''; if ($member['mb_id']) { $is_member = true; $is_admin = is_admin($member['mb_id']); $member['mb_dir'] = substr($member['mb_id'],0,2); } else { $is_guest = true; $member['mb_id'] = ''; $member['mb_level'] = 1; // 비회원의 경우 회원레벨을 가장 낮게 설정 } if ($is_admin != 'super') { // 접근가능 IP $cf_possible_ip = trim($config['cf_possible_ip']); if ($cf_possible_ip) { $is_possible_ip = false; $pattern = explode("\n", $cf_possible_ip); for ($i=0; $iread()) { // php 파일만 include 함 if (preg_match("/(\.php)$/i", $entry)) include_once(G4_EXTEND_PATH.'/'.$entry); } // 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면 // 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음 header('Content-Type: text/html; charset=utf-8'); $gmnow = gmdate('D, d M Y H:i:s') . ' GMT'; header('Expires: 0'); // rfc2616 - Section 14.21 header('Last-Modified: ' . $gmnow); header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1 header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 header('Pragma: no-cache'); // HTTP/1.0 ?>