mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
feat: access log config setting and a real get-post-cookie logger
This is a very naive and primitive logger of user requests to the game. To be used on systems where access to webserver's log data is not available (especially if the webserver doesn't store POST data as well).
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
use App\Utils\AccessLogger;
|
||||
|
||||
#################################################################################
|
||||
## ##
|
||||
## -= YOU MUST NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
@@ -44,8 +46,11 @@ else
|
||||
{
|
||||
die('Security: Please activate security class!');
|
||||
}
|
||||
include ("GameEngine/Database.php");
|
||||
include ("GameEngine/Lang/".LANG.".php");
|
||||
|
||||
include_once "GameEngine/Database.php";
|
||||
include_once "GameEngine/Lang/".LANG.".php";
|
||||
|
||||
AccessLogger::logRequest();
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
Reference in New Issue
Block a user