Commit a52e3472 authored by Nico Schallehn's avatar Nico Schallehn

bugfix am cronjob

parent db7aa777
......@@ -19,7 +19,7 @@ Es sind ".$Useronline." Online!
$inhalt = date("H:i:s d.m.Y",time())." - Useranzahl:".$Useranzahl." - Useronline:".$Useronline." - Userlogout:".$counter."\r\n";
echo $inhalt;
$text = file_get_contents("/var/www/chat.ivaya.de/log.txt");
$handle = fopen ("log.txt", "r+");
$handle = fopen ("/var/www/chat.ivaya.de/log.txt", "r+");
fwrite ($handle, $inhalt.$text);
fclose ($handle);
?>
\ No newline at end of file
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