tag * IT IS A COPY OF header.inc.php EXCEPT that it doesn't start the body * output. * * @package dokeos.include ============================================================================== */ /*---------------------------------------- HEADERS SECTION --------------------------------------*/ /* * HTTP HEADER */ //Give a default value to $charset. Should change to UTF-8 some time in the future. //This parameter should be set in the platform configuration interface in time. if(empty($charset)) { $charset = 'ISO-8859-15'; } //header('Content-Type: text/html; charset='. $charset) // or die ("WARNING : it remains some characters before <?php bracket or after ?> end"); header('Content-Type: text/html; charset='. $charset); if ( isset($httpHeadXtra) && $httpHeadXtra ) { foreach($httpHeadXtra as $thisHttpHead) { header($thisHttpHead); } } // Get language iso-code for this page - ignore errors // The error ignorance is due to the non compatibility of function_exists() // with the object syntax of Database::get_language_isocode() @$document_language = Database::get_language_isocode($language_interface); if(empty($document_language)) { //if there was no valid iso-code, use the english one $document_language = 'en'; } /* * HTML HEADER */ ?>