Browse Source

修复404页面资源链接

pull/14/head 3.4.4
Zisbusy 3 years ago
committed by GitHub
parent
commit
5a1e66be79
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Akina/404.php

+ 3
- 3
Akina/404.php View File

@ -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…
Cancel
Save