From 07834f4076244e4aed853a24e89ae1a9976ec5ec Mon Sep 17 00:00:00 2001 From: titrxw <1120309488@qq.com> Date: Tue, 2 Mar 2021 17:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B9=E6=B3=95=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Core/Provider/ProviderAbstract.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Src/Core/Provider/ProviderAbstract.php b/Src/Core/Provider/ProviderAbstract.php index f6eadcae..61e2ba59 100644 --- a/Src/Core/Provider/ProviderAbstract.php +++ b/Src/Core/Provider/ProviderAbstract.php @@ -76,7 +76,14 @@ public function register() { public function boot() { } + /** + * @deprecated + */ protected function registerBaseDir($dir) { + $this->registerOpenBaseDir($dir); + } + + protected function registerOpenBaseDir($dir) { $dir = (array)$dir; $appBasedir = $this->getConfig()->get('app.setting.basedir', []); $appBasedir = array_merge($appBasedir, $dir);