summaryrefslogtreecommitdiffstats
path: root/includes/head.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-07-10 22:58:49 +0800
committerBigCoke233 <hi@guhub.cn>2020-07-10 22:58:49 +0800
commit4901b642cd90a9124a4ca5732210707caa030290 (patch)
tree5bb5954a5b306e88e5125d4b44a80710c1f146c0 /includes/head.php
parent39b4e65156bb35e5a23ef1904d16716cd9562ab1 (diff)
:zap: Perf: 兼容 typecho 自带反垃圾功能,并优化代码结构
Diffstat (limited to 'includes/head.php')
-rw-r--r--includes/head.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/head.php b/includes/head.php
index e39cce1..e3e7a93 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -40,13 +40,13 @@
$this->options->bannerUrl();
endif;}?>" />
<link rel="icon" id="icon" type="image/png" href="<?php if($this->options->favicon):$this->options->favicon();else:echo Utils::indexTheme('favicon.ico');endif; ?>" />
- <?php $this->header('description=&commentReply='); ?>
+ <?php $header->header('generator=&pingback=&xmlrpc=&wlw=&commentReply=&description=&antiSpam='); ?>
<?php $this->options->headerEcho(); ?>
<!-- css -->
<?php
$css_files=array("codestyle","owo.min","nprogress","gazeimg","main/miracles.min");
if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif;
- generate_require($css_files,"css",$this->options->CDN,$custom);
+ Utils::addRequires($css_files,"css",$this->options->CDN,$custom);
?>
<!-- icon font -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1165190_1djdjjwge4m.css" />