From: x2000habouzit Date: Fri, 15 Oct 2004 07:06:14 +0000 (+0000) Subject: was too geeky X-Git-Tag: xorg/old~1279 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1629ed92aa1f716c5a1d6852fe541990376821c0;p=platal.git was too geeky --- diff --git a/include/xorg.page.inc.php b/include/xorg.page.inc.php index a99b406..98e8188 100644 --- a/include/xorg.page.inc.php +++ b/include/xorg.page.inc.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: xorg.page.inc.php,v 1.46 2004-10-14 22:32:02 x2000habouzit Exp $ + $Id: xorg.page.inc.php,v 1.47 2004-10-15 07:06:14 x2000habouzit Exp $ ***************************************************************************/ require("diogenes.core.page.inc.php"); @@ -128,11 +128,6 @@ class XorgPage extends DiogenesCorePage { if($this->_page_type == NO_SKIN) $this->display($this->_tpl); else { - if (strpos($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml')!==false) { - header('Content-Type: application/xhtml+xml; charset=iso8859-1'); - } else { - header('Content-Type: text/html; charset=iso8859-1'); - } if(isset($_SESSION['suid'])) $this->caching=false; $id = $this->make_id($append_to_id); if($site_dev) {