1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

ob start fix

This commit is contained in:
Daniel 2022-04-11 21:11:38 -03:00
parent 73270f395e
commit 3802d457b7

View file

@ -8012,15 +8012,15 @@ function getIncludeFileContent($filePath, $varsArray=array()){
$$key = $value;
}
_ob_start();
$out = ob_get_clean();
_ob_start();
$__out = ob_get_clean();
//_ob_start();
$basename = basename($filePath);
$return = "<!-- {$basename} start -->";
include $filePath;
$return .= ob_get_clean();
$return .= "<!-- {$basename} end -->";
_ob_start();
echo $out;
echo $__out;
return $return;
}