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
This commit is contained in:
mdtrooper 2009-08-07 14:57:11 +00:00
parent 717b8eede0
commit 05f52ee9e0
2 changed files with 8 additions and 2 deletions

View File

@ -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>

View File

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