update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -67,8 +67,14 @@ class ServiceProvider extends BaseServiceProvider {
// This method can be overridden in a child class
public function registerBreadcrumbs()
{
// Load the app breadcrumbs if they're in app/Http/breadcrumbs.php
if (file_exists($file = $this->app['path'].'/Http/breadcrumbs.php'))
// Load the app breadcrumbs if they're in routes/breadcrumbs.php (Laravel 5.3)
if (file_exists($file = $this->app['path.base'].'/routes/breadcrumbs.php'))
{
require $file;
}
// Load the app breadcrumbs if they're in app/Http/breadcrumbs.php (Laravel 5.0-5.2)
elseif (file_exists($file = $this->app['path'].'/Http/breadcrumbs.php'))
{
require $file;
}