Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel https assets

<?php

namespace AppProviders;

use IlluminateSupportServiceProvider;
use IlluminateSupportFacadesSchema;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        if(env('REDIRECT_HTTPS'))
        {
            URL::forceScheme('https');
        }

        Schema::defaultStringLength(191);
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}
Comment

PREVIOUS NEXT
Code Example
Php :: php compare two dates 
Php :: npm watch laravel 
Php :: laravel migration price 
Php :: display all errors at once in laravel 
Php :: php exception message 
Php :: codeigniter 3 limit 
Php :: php script to generate random date 
Php :: php json key value loop 
Php :: eloquent run seeder 
Php :: importing current year in laravel blade 
Php :: string to uppercase laravel 
Php :: html input date php date today 
Php :: php int to string 
Php :: How to install php-fpm 
Php :: wordpress get fiture image 
Php :: get author display name wordpress 
Php :: codeigniter get num_rows 
Php :: composer create project laravel 7 
Php :: wp php related post by category 
Php :: hash a password php 
Php :: php artisan ui auth 
Php :: php server name 
Php :: htaccess replace url parameter with slash prameter 
Php :: How to show php text 
Php :: substr() php 
Php :: php get all elements of array except last 
Php :: php grab year from date 
Php :: php subtract mins to datetime 
Php :: object to array in php 
Php :: php sleep half a second 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =