summaryrefslogtreecommitdiffstats
path: root/includes/head.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/head.php')
-rw-r--r--includes/head.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/head.php b/includes/head.php
index 3a6aa92..41f143d 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -1,4 +1,5 @@
-<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
+<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
+if($GLOBALS['miraclesIfCompressHTML']=='on') ob_start(); //ob 截取开始 ?>
<!DOCTYPE HTML>
<html<?php if($this->options->grayTheme && $this->options->grayTheme=1): ?> class="html-filter-gray"<?php endif; ?>>
<head>