KUJUNTI.ID MINISH3LL
Path : /var/www/html/phkaynews-v2/app/Providers/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/phkaynews-v2/app/Providers/AppServiceProvider.php


<?php

namespace App\Providers;
use Illuminate\Support\Facades\URL;
use App\Models\Advertise;
use App\Models\Category;
use App\Models\Post;
use Illuminate\Pagination\Paginator;
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()
    {
	if (env('FORCE_HTTPS')==true)
        {        
            URL::forceScheme('https');          
        }  
        Paginator::useBootstrap();
    }
}

© KUJUNTI.ID