修复了一些小问题
This commit is contained in:
parent
044f7dda0b
commit
c6b7c0e5c9
@ -1175,9 +1175,9 @@ if(empty(mysqli_fetch_array($result))){
|
||||
}
|
||||
|
||||
//Output the site logs.
|
||||
$logs="[GEMCAPI-RQDEAL-1][".date('Y-m-d H:i:d')."][HOST:".$_SERVER['HTTP-HOST']."][IP:"$_SERVER['HTTP_X_FORWARDED_FOR']."][PRO:".$pro."][GET:path=".$_GET['path']."&type=".$_GET['type']."]"
|
||||
$fd = fopen("logs/".date('Y-m-d'),'a');
|
||||
fwrite($fd,$logs;
|
||||
$logs="[GEMCAPI-RQDEAL-1][".date('Y-m-d H:i:d')."][HOST:".$_SERVER['HTTP_HOST']."][IP:".$_SERVER['HTTP_X_FORWARDED_FOR']."][PRO:".$pro."][GET:path=".$_GET['path']."&type=".$_GET['type']."]\n";
|
||||
$fd = fopen("logs/".date('Y-m-d').".txt",'a');
|
||||
fwrite($fd,$logs);
|
||||
fclose($fd);
|
||||
|
||||
mysqli_close($link);//Close the link with database.
|
Reference in New Issue
Block a user