Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 180 Bytes

Slim-Middleware-RequireHTTPS

Slim middleware: redirect http to https

$app = new \Slim\Slim();
$app->add(new \Slim\Middleware\RequireHTTPS());