mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2025-01-03 14:32: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";
|
$myFile = "log/".$parts[count($parts) - 1].".log";
|
||||||
$fh = fopen($myFile, \'a\') or die("can\'t open file");
|
$fh = fopen($myFile, \'a\') or die("can\'t open file");
|
||||||
$string = $_SERVER[\'REMOTE_ADDR\'];
|
$string = $_SERVER[\'REMOTE_ADDR\']."\n";
|
||||||
fwrite($fh, $string);
|
fwrite($fh, $string);
|
||||||
fclose($fh);
|
fclose($fh);
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user