diff --git a/src/Application.php b/src/Application.php index b42d6f3d..f6798317 100644 --- a/src/Application.php +++ b/src/Application.php @@ -71,7 +71,7 @@ protected function markAsRegistered($provider) */ public function configPath($path = '') { - return $this->resourcesPath('config'.($path ? DIRECTORY_SEPARATOR.$path : '')); + return $this->basePath('config'.($path ? DIRECTORY_SEPARATOR.$path : '')); } /** @@ -81,7 +81,7 @@ public function configPath($path = '') */ public function databasePath($path = '') { - return ($this->databasePath ?: $this->resourcesPath('database')).($path ? DIRECTORY_SEPARATOR.$path : ''); + return ($this->databasePath ?: $this->basePath('database')).($path ? DIRECTORY_SEPARATOR.$path : ''); } /**