From 8a03995d72a9afe999c243cffd1fae05b441c172 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sun, 12 Apr 2020 15:34:50 +0800 Subject: =?UTF-8?q?:books:=20Add:=20=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E9=9D=99=E6=80=81=E8=B5=84=E6=BA=90=20CDN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/footer.php | 3 ++- includes/head.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/footer.php b/includes/footer.php index 6c82d26..94c9d48 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -23,7 +23,8 @@ options->CDN?"https://cdn.jsdelivr.net/gh/BigCoke233/miracles@":""); + if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; + generate_require($js_files,"js",$this->options->CDN,$custom); ?>