1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

PHP bug workaround

This commit is contained in:
Daniel 2022-04-12 10:16:09 -03:00
parent 083f3f2170
commit a81fb1f121

View file

@ -8104,7 +8104,8 @@ function doesPHPVersioHasOBBug(){
}
function _ob_end_clean(){
ob_end_clean();
if(!doesPHPVersioHasOBBug()){
ob_end_clean();
header_remove("Content-Encoding");
}
}