경로 수정 작업 중
This commit is contained in:
15
bbs/zip.php
15
bbs/zip.php
@ -1,12 +1,12 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
// 메모리를 많이 잡아먹어서 아래의 코드로 대체
|
||||
//ini_set('memory_limit', '20M');
|
||||
//$zipfile = file("./zip.db");
|
||||
|
||||
$zipfile = array();
|
||||
$fp = fopen("./zip.db", "r");
|
||||
$fp = fopen('./zip.db', 'r');
|
||||
while(!feof($fp)) {
|
||||
$zipfile[] = fgets($fp, 4096);
|
||||
}
|
||||
@ -37,7 +37,7 @@ if ($addr1)
|
||||
}
|
||||
}
|
||||
|
||||
if (!$search_count) alert("찾으시는 주소가 없습니다.");
|
||||
if (!$search_count) alert('찾으시는 주소가 없습니다.');
|
||||
}
|
||||
|
||||
/* 기존의 DB에서 불러오는 방식
|
||||
@ -62,11 +62,10 @@ if ($addr1)
|
||||
}
|
||||
*/
|
||||
|
||||
$g4[title] = "우편번호 검색";
|
||||
include_once("$g4[path]/head.sub.php");
|
||||
$g4['title'] = '우편번호 검색';
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
|
||||
$member_skin_path = "$g4[path]/skin/member/$config[cf_member_skin]";
|
||||
include_once("$member_skin_path/zip.skin.php");
|
||||
include_once($member_skin_path.'/zip.skin.php');
|
||||
|
||||
include_once("$g4[path]/tail.sub.php");
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user