Skip to content

Commit

Permalink
Update SettingsServiceProvider.php
Browse files Browse the repository at this point in the history
fix migration and config publish
  • Loading branch information
hackeresq authored Oct 17, 2018
1 parent f60b3f8 commit 10c8b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SettingsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function boot()
* Publish settings config file
*/
$this->publishes([
__DIR__ . '/../../config/settings.php' => config_path('settings.php'),
__DIR__ . '/../config/settings.php' => config_path('settings.php'),
], 'config');


Expand All @@ -32,7 +32,7 @@ public function boot()
$timestamp = date('Y_m_d_His', time());

$this->publishes([
__DIR__.'/../../database/migrations/create_settings_table.php' => $this->app->databasePath()."/migrations/{$timestamp}_create_settings_table.php",
__DIR__.'/../database/migrations/create_settings_table.php' => $this->app->databasePath()."/migrations/{$timestamp}_create_settings_table.php",
], 'migrations');

}
Expand Down

0 comments on commit 10c8b83

Please sign in to comment.