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