瀏覽代碼

修复404页面资源链接

pull/14/head 3.4.4
Zisbusy 3 年之前
committed by GitHub
父節點
當前提交
5a1e66be79
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      Akina/404.php

+ 3
- 3
Akina/404.php 查看文件

@ -1,11 +1,11 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
define("THEME_URL", $this->options->themeUrl);
if(!empty(Helper::options()->CDNURL)){
$theurl = Helper::options()->CDNURL.'/AkinaCDN/';
$theurl = Helper::options()->CDNURL.'/usr/themes/Akina/';
}else{
$theurl = THEME_URL.'/';
}
define("theurl",$theurl);
define("theurl",$theurl);
?>
<!DOCTYPE HTML>
<html>
@ -28,4 +28,4 @@ define("theurl",$theurl);
<a id="gohome" href="<?php $this->options ->siteUrl(); ?>">返回主页</a>
</div>
</section>
</body>
</body>

Loading…
取消
儲存