Commit db7aa777 authored by Nico Schallehn's avatar Nico Schallehn

Pfad von Log datei angepasst

parent 1f9729c6
......@@ -18,7 +18,7 @@ Es sind ".$Useronline." Online!
--------------------------------------\r\n";
$inhalt = date("H:i:s d.m.Y",time())." - Useranzahl:".$Useranzahl." - Useronline:".$Useronline." - Userlogout:".$counter."\r\n";
echo $inhalt;
$text = file_get_contents("log.txt");
$text = file_get_contents("/var/www/chat.ivaya.de/log.txt");
$handle = fopen ("log.txt", "r+");
fwrite ($handle, $inhalt.$text);
fclose ($handle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment