zalazdi / laravel-imap

Laravel 5 IMAP client.
MIT License
48 stars 24 forks source link

can't locate config/imap.php #24

Open lhidalgo42 opened 7 years ago

lhidalgo42 commented 7 years ago

when i try to run php artisan vendor:publish --provider="Zalazdi\LaravelImap\Providers\LaravelServiceProvider"

there are an error Can't locate path: <...\vendor\zalazdi\laravel-imap\src\Providers/../config/imap.php> Thanks

wtfmejt commented 6 years ago

You need to move the config folder one folder higher

kashifumar commented 6 years ago

Open the file vendor\zalazdi\src\Providers\LaravelServiceProvider.php In the boot function the code is $this->publishes([ __DIR__.'/../config/imap.php' => config_path('imap.php'), ]);

Change the path __DIR__.'/../config/imap.php' => config_path('imap.php'),

to __DIR__.'/../../config/imap.php' => config_path('imap.php'),