mirror of
https://github.com/ShaYmez/allmon2-last-heard.git
synced 2024-11-27 02:09:19 -05:00
Dont truncate file
This commit is contained in:
parent
094a142618
commit
23c9f871bc
@ -140,7 +140,9 @@ class Stream
|
||||
|
||||
if ($keyedBefore !== $keyedNow) {
|
||||
if (filesize($this->streamOutput) >= 4096) {
|
||||
file_put_contents($this->streamOutput, '');
|
||||
$so = file_get_contents($this->streamOutput);
|
||||
$so = substr($so, 2048);
|
||||
file_put_contents($this->streamOutput, $so);
|
||||
}
|
||||
|
||||
// Permanently set to Allstar for now
|
||||
|
Loading…
Reference in New Issue
Block a user