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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user