login_process를 일단 변경
func_string의 Fill 계열 함수 마저 static으로 변경 전메, 갠메 파일 열기 실패시 에러 반환 main.php 파일에 jQuery + js 파일 열수 있도록
This commit is contained in:
@@ -3454,6 +3454,9 @@ function MsgFile($skin, $bg, $nation=0, $level=0) {
|
||||
case 3: $bgcolor = "336600"; $count = 20; $fl = "_nation_msg{$nation}.txt"; break;
|
||||
}
|
||||
|
||||
if(!file_exists("logs/{$fl}")){
|
||||
return;
|
||||
}
|
||||
$fp = @fopen("logs/{$fl}", "r");
|
||||
@fseek($fp, -$count*300, SEEK_END);
|
||||
$file = @fread($fp, $count*300);
|
||||
|
||||
Reference in New Issue
Block a user