From ed69bbac960f545c02e731e33220c3686fb1a274 Mon Sep 17 00:00:00 2001 From: AOAOSTAR <86001674+aoaostar@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:48:01 +0800 Subject: [PATCH] update --- app/controller/Install.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/controller/Install.php b/app/controller/Install.php index d0b7eba..b49e5fc 100644 --- a/app/controller/Install.php +++ b/app/controller/Install.php @@ -20,6 +20,7 @@ public function __destruct() Cache::clear(); reset_opcache(); } + public function initialize() { // 检测是否已安装 @@ -128,7 +129,9 @@ public function oauth() } } file_put_contents(app()->getRootPath() . 'install.lock', format_date()); - @aoaostar_get(base64_decode('aHR0cHM6Ly90b29sLWNsb3VkLmFvYW9zdGFyLmNvbS9vcGVuL2luc3RhbGw=')); + @aoaostar_get(base64_decode('aHR0cHM6Ly90b29sLWNsb3VkLmFvYW9zdGFyLmNvbS9vcGVuL2luc3RhbGw='), [ + 'referer:' . Request::domain(true), + ]); return msg(); }