equal
deleted
inserted
replaced
1144 // I feel awful doing this. |
1144 // I feel awful doing this. |
1145 if ( preg_match('/^W3C_Validator/', @$_SERVER['HTTP_USER_AGENT']) ) |
1145 if ( preg_match('/^W3C_Validator/', @$_SERVER['HTTP_USER_AGENT']) ) |
1146 { |
1146 { |
1147 header('Content-type: application/xhtml+xml'); |
1147 header('Content-type: application/xhtml+xml'); |
1148 } |
1148 } |
|
1149 |
|
1150 // Reassign one important variable that can need to be changed after init_vars(): ADDITIONAL_HEADERS |
|
1151 $this->assign_vars(array( |
|
1152 'ADDITIONAL_HEADERS' => $this->additional_headers |
|
1153 )); |
1149 |
1154 |
1150 $headers_sent = true; |
1155 $headers_sent = true; |
1151 if(!defined('ENANO_HEADERS_SENT')) |
1156 if(!defined('ENANO_HEADERS_SENT')) |
1152 define('ENANO_HEADERS_SENT', ''); |
1157 define('ENANO_HEADERS_SENT', ''); |
1153 if ( !$this->no_headers ) |
1158 if ( !$this->no_headers ) |