twe_close를 twe로 변경(서비스모드로 변경)

앞으로 추가 테스트 시작
This commit is contained in:
2018-01-14 05:01:11 +09:00
parent c5c9137b35
commit 35e92365f2
155 changed files with 16 additions and 16 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
//임시 땜빵 리팩터링.
require_once "lib.php";
function dbConnRoot() {
global $connect, $HTTP_COOKIE_VARS;
$f = @file("../d_setting/set.php") or Error("set.php파일이 없습니다. DB설정을 먼저 하십시요!");
for($i=1; $i<= 4; $i++) $f[$i] = trim(str_replace("\n","",$f[$i]));
if(!$connect) $connect = @MYDB_connect($f[1],$f[2],$f[3]) or Error("DB 접속시 에러가 발생했습니다");
@MYDB_select_db($f[4], $connect) or Error("DB Select 에러가 발생했습니다","");
return $connect;
}
class General{
protected
$no, $user_id, $name, $level, $level_exp,
$leadership, $leadership_exp,
$power, $power_exp,
$intel, $intel_exp;
}
class NPCGeneral extends General{
protected
$npc_name, $npcmsg;
}