mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
ob start fix
This commit is contained in:
parent
73270f395e
commit
3802d457b7
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue