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');