Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

invalid request (unsupported ssl request)

//check that app is local
if ($this->app->isLocal()) {
//if local register your services you require for development
    $this->app->register('BarryvdhDebugbarServiceProvider');
} else {
//else register your services you require for production
    $this->app['request']->server->set('HTTPS', true);
}

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #invalid #request #ssl
ADD COMMENT
Topic
Name
3+1 =