From 20d743b6c6f55721188be4bcf785fef8a6e39500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E8=8A=B1=E9=B1=BCOvO?= Date: Wed, 2 Jan 2019 20:39:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B2=A1=E6=84=9F=E8=A7=89=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E8=B4=9F=E8=BD=BD=E6=9C=89=E7=82=B9=E9=87=8D?= =?UTF-8?q?=E5=98=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/decorate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/decorate.php b/inc/decorate.php index b423156..b258982 100644 --- a/inc/decorate.php +++ b/inc/decorate.php @@ -60,7 +60,7 @@ if ( akina_option('toggle-menu') == 'no') { ?> if (akina_option('cover_img')) { $imgurl = akina_option('cover_img'); } else { - $imgurl = 'https://sakura.2heng.xin/wp-content/themes/Sakura/cover/index.php'; + $imgurl = get_site_url()."/wp-content/themes/Sakura/cover/"; } @@ -85,4 +85,4 @@ $bg_style = akina_option('focus_height') ? 'background-position: center center;b Date: Wed, 2 Jan 2019 20:59:31 +0800 Subject: [PATCH 2/2] Update decorate.php --- inc/decorate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/decorate.php b/inc/decorate.php index b258982..8fc3432 100644 --- a/inc/decorate.php +++ b/inc/decorate.php @@ -60,7 +60,7 @@ if ( akina_option('toggle-menu') == 'no') { ?> if (akina_option('cover_img')) { $imgurl = akina_option('cover_img'); } else { - $imgurl = get_site_url()."/wp-content/themes/Sakura/cover/"; + $imgurl = get_site_url()."/wp-content/themes/Sakura/cover/index.php"; }