12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?php
- $app_path = '/';
- $blog_file_path = __FILE__;
- $blog_dc_path = dirname(__FILE__).$app_path;
- require $blog_dc_path.'/layout/prepend.php';
- $accept_xml =
- !empty($_SERVER['HTTP_ACCEPT']) &&
- strpos($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml') !== false;
- if (dc_send_real_xml && $accept_xml) {
- header('Content-Type: application/xhtml+xml');
- } else {
- header('Content-Type: text/html; charset='.dc_encoding);
- }
- if ($accept_xml) {
- echo '<?xml version="1.0" encoding="'.dc_encoding.'"?>'."\n";
- }
- include $dc_template_file;
- require $blog_dc_path.'/layout/append.php';
- ?>
|