Skip to content

Commit

Permalink
Fix problem with Laravel 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Stolz committed Feb 5, 2015
1 parent 3815462 commit e1a1c03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Laravel/LegacyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ class LegacyServiceProvider extends LaravelServiceProvider
public function boot()
{
// Register the package namespace
$this->package('stolz/assets');
//$this->package('stolz/assets'); // Only valid if config file is at src/config/config.php
$this->app->config->package('stolz/assets', __DIR__, 'assets');

// Read settings from config file
$config = $this->app->config->get('assets::config', array());
$config = $this->app->config->get('assets::config', []);

// Apply config settings
$this->app['stolz.assets']->config($config);
Expand Down

0 comments on commit e1a1c03

Please sign in to comment.