Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 41a0932

Browse files
committed
Fixing default config path and simplifying published config file. refs bgultekin#23
1 parent 264619b commit 41a0932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Laravalid/LaravalidServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public function register()
7070
*/
7171
protected function registerResources()
7272
{
73-
$userConfigFile = app()->configPath().'/laravalid/config.php';
74-
$packageConfigFile = __DIR__.'/../../../config/config.php';
73+
$userConfigFile = app()->configPath().'/laravalid.php';
74+
$packageConfigFile = __DIR__.'/../../config/config.php';
7575
$config = $this->app['files']->getRequire($packageConfigFile);
7676

7777
if (file_exists($userConfigFile)) {

0 commit comments

Comments
 (0)