Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
Check path for Laravel 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdaws committed Oct 8, 2014
1 parent a658ae7 commit 4f8df0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/DaveJamesMiller/Breadcrumbs/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@ public function boot()
// Load the app breadcrumbs if they're in app/breadcrumbs.php
if (file_exists($file = $this->app['path'].'/breadcrumbs.php'))
require $file;

elseif (file_exists($file = $this->app['path'].'/Http/breadcrumbs.php'))
require $file;
}
}

0 comments on commit 4f8df0b

Please sign in to comment.