equal
deleted
inserted
replaced
1013 ob_start(); |
1013 ob_start(); |
1014 |
1014 |
1015 if(!$this->theme_loaded) |
1015 if(!$this->theme_loaded) |
1016 { |
1016 { |
1017 $this->load_theme($session->theme, $session->style); |
1017 $this->load_theme($session->theme, $session->style); |
|
1018 } |
|
1019 |
|
1020 // I feel awful doing this. |
|
1021 if ( preg_match('/^W3C_Validator/', @$_SERVER['HTTP_USER_AGENT']) ) |
|
1022 { |
|
1023 header('Content-type: application/xhtml+xml'); |
1018 } |
1024 } |
1019 |
1025 |
1020 $headers_sent = true; |
1026 $headers_sent = true; |
1021 if(!defined('ENANO_HEADERS_SENT')) |
1027 if(!defined('ENANO_HEADERS_SENT')) |
1022 define('ENANO_HEADERS_SENT', ''); |
1028 define('ENANO_HEADERS_SENT', ''); |