From a0aa6db9f148033c77f60bf59b6b9aeaa13b87c5 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 23 Aug 2017 16:28:21 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E5=90=8E=E5=8F=B0CDN?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=88=87=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/hook/FilterView.php | 1 - 1 file changed, 1 deletion(-) diff --git a/extend/hook/FilterView.php b/extend/hook/FilterView.php index 1bcdf6c93..7b301a109 100644 --- a/extend/hook/FilterView.php +++ b/extend/hook/FilterView.php @@ -41,7 +41,6 @@ class FilterView $this->request = Request::instance(); list($appRoot, $uriSelf) = [$this->request->root(true), $this->request->url(true)]; $uriRoot = strpos($appRoot, EXT) ? ltrim(dirname($appRoot), DS) : $appRoot; - $uriStatic = (Request::instance()->isSsl() ? 'https' : 'http') . "://plugs.ctolog.com"; $uriStatic = "{$uriRoot}/static"; $replace = ['__APP__' => $appRoot, '__SELF__' => $uriSelf, '__PUBLIC__' => $uriRoot, '__STATIC__' => $uriStatic]; $params = str_replace(array_keys($replace), array_values($replace), $params);