From 05f52ee9e0f0521238e78d24a8434ac3572654c6 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 7 Aug 2009 14:57:11 +0000 Subject: [PATCH] 2009-08-07 Miguel de Dios * index.php: Fix error with writting buffer after ob_start and before Pandora console don't change the http header. Fixes: 2833710 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/index.php | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 58ecb65287..1f277bb65f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2009-08-07 Miguel de Dios + + * index.php: Fix error with writting buffer after ob_start and before + Pandora console don't change the http header. + Fixes: 2833710 2009-08-05 Sancho Lerena diff --git a/pandora_console/index.php b/pandora_console/index.php index fef4b46c4f..52bcc02e1c 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -88,11 +88,12 @@ $config["pure"] = (bool) get_parameter ("pure"); // Auto Refresh page (can now be disabled anywhere in the script) $config["refr"] = (int) get_parameter ("refr"); +//This starts the page head. In the call back function, things from $page['head'] array will be processed into the head +ob_start ('process_page_head'); + echo ''."\n"; echo ''."\n"; echo ''; -//This starts the page head. In the call back function, things from $page['head'] array will be processed into the head -ob_start ('process_page_head'); enterprise_include ('index.php');