1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Test admin scripts are parsing correctly.

This commit is contained in:
Cameron
2021-01-16 13:32:35 -08:00
parent 692b8c8538
commit 04bbad449a
59 changed files with 709 additions and 4374 deletions

View File

@@ -2506,8 +2506,8 @@ class e_http_header
function setContent($content,$search=null,$replace=null)
{
if($content == 'buffer')
global $_E107;
if($content == 'buffer' && empty($_E107['cli']))
{
$this->length = ob_get_length();
$this->content = ob_get_clean();