File buffering_fixes.patch of Package pihole-admin-lte
16
1
Index: AdminLTE-5.18/scripts/pi-hole/php/debug.php
2
===================================================================
3
--- AdminLTE-5.18.orig/scripts/pi-hole/php/debug.php
4
+++ AdminLTE-5.18/scripts/pi-hole/php/debug.php
5
6
<?php
7
8
-ob_end_flush();
9
+if(ob_get_contents()) {
10
+ ob_end_flush();
11
+}
12
+
13
ini_set('output_buffering', '0');
14
ob_implicit_flush(true);
15
header('Content-Type: text/event-stream');
16