From 6e97462e568d9c1645f86d982612be75693aeb08 Mon Sep 17 00:00:00 2001 From: mdtrooper <tres.14159@gmail.com> Date: Fri, 7 Aug 2009 14:57:11 +0000 Subject: [PATCH] 2009-08-07 Miguel de Dios <miguel.dedios@artica.es> * 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 <miguel.dedios@artica.es> + + * 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 <slerena@artica.es> 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 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n"; echo '<html xmlns="http://www.w3.org/1999/xhtml">'."\n"; echo '<head>'; -//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');