ソースを参照

修复404页面资源链接

pull/14/head 3.4.4
Zisbusy 3年前
committed by GitHub
コミット
5a1e66be79
この署名に対応する既知のキーがデータベースに存在しません GPGキー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>

読み込み中…
キャンセル
保存