mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
PHP bug workaround
This commit is contained in:
parent
083f3f2170
commit
a81fb1f121
1 changed files with 2 additions and 1 deletions
|
@ -8104,7 +8104,8 @@ function doesPHPVersioHasOBBug(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function _ob_end_clean(){
|
function _ob_end_clean(){
|
||||||
|
ob_end_clean();
|
||||||
if(!doesPHPVersioHasOBBug()){
|
if(!doesPHPVersioHasOBBug()){
|
||||||
ob_end_clean();
|
header_remove("Content-Encoding");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue