ldc-supportweb/app/Providers/AppServiceProvider.php

33 lines
558 B
PHP
Raw Normal View History

2020-11-18 10:23:51 +01:00
<?php
namespace App\Providers;
2021-04-15 16:47:57 +02:00
use Illuminate\Pagination\Paginator;
2020-11-18 10:23:51 +01:00
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
2021-04-15 16:47:57 +02:00
Paginator::useBootstrap();
2020-11-24 14:03:47 +01:00
if(config('app.env') !== 'local') {
\URL::forceScheme('https');
}
2020-11-18 10:23:51 +01:00
}
}