From 825163364b9858c206dbd9ce5af1ddb3e8db11e7 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 20 Oct 2022 18:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=8D=87=E7=BA=A7=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=206.0.39?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 4 ++-- think | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.php b/public/index.php index 8d0e0cbb8..a7a0d2715 100644 --- a/public/index.php +++ b/public/index.php @@ -16,10 +16,10 @@ namespace think; -use think\admin\service\SystemService; +use think\admin\service\RuntimeService; // 加载基础文件 require __DIR__ . '/../vendor/autoload.php'; // WEB应用初始化 -SystemService::instance()->doInit(); \ No newline at end of file +RuntimeService::doWebsiteInit(); \ No newline at end of file diff --git a/think b/think index b81565dc3..e092ab9e4 100755 --- a/think +++ b/think @@ -16,10 +16,10 @@ namespace think; -use think\admin\service\SystemService; +use think\admin\service\RuntimeService; // 加载基础文件 require __DIR__ . '/vendor/autoload.php'; // 命令行应用初始化 -SystemService::instance()->doConsoleInit(); \ No newline at end of file +RuntimeService::doConsoleInit(); \ No newline at end of file