$request->secure()
Checks if this is a secure request (SSL)
-
return (boolean)
if(kirby()->request()->secure()) {
echo 'This is a secure request';
}
Checks if this is a secure request (SSL)
if(kirby()->request()->secure()) {
echo 'This is a secure request';
}