This commit is contained in:
nielsbaloe authored and GitHub committed 2023-07-09 12:28:49 +02:00
1 parent 989a193541
commit 778c6ef5af
1 file changed
+2 -2
+2 -2
View File
@@ -56,7 +56,7 @@ if (count($all)!=0) {
$file = fopen($filename, 'c+b'); $file = fopen($filename, 'c+b');
flock($file, LOCK_SH); flock($file, LOCK_SH);
echo 'data: ', fread($file, filesize($filename)), PHP_EOL; echo 'data: ', base64_dencode(fread($file, filesize($filename))), PHP_EOL;
fclose($file); fclose($file);
unlink($filename); unlink($filename);
break; break;
@@ -69,4 +69,4 @@ if (count($all)!=0) {
echo 'retry: 1000', PHP_EOL, PHP_EOL; // shorten the 3 seconds to 1 sec echo 'retry: 1000', PHP_EOL, PHP_EOL; // shorten the 3 seconds to 1 sec
?> ?>