Skip to content

Commit

Permalink
修改方法名称
Browse files Browse the repository at this point in the history
  • Loading branch information
titrxw committed Mar 2, 2021
1 parent 45e67ba commit 07834f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Src/Core/Provider/ProviderAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 07834f4

Please sign in to comment.