mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-12-22 09:42:39 +00:00
added spacing in generated logs
This commit is contained in:
parent
c056cd8b59
commit
9cee531941
@ -67,7 +67,7 @@ $parts = Explode(\'/\', $currentFile);
|
||||
|
||||
$myFile = "log/".$parts[count($parts) - 1].".log";
|
||||
$fh = fopen($myFile, \'a\') or die("can\'t open file");
|
||||
$string = $_SERVER[\'REMOTE_ADDR\'];
|
||||
$string = $_SERVER[\'REMOTE_ADDR\']."\n";
|
||||
fwrite($fh, $string);
|
||||
fclose($fh);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user