Need is_https() |
Hi
Can you please add isHttps as your system common function. Code: if ( ! function_exists('isHttps'))
This is already part of the IncomingRequest class, isSecure(). You can access it anywhere like so:
service(‘request’)->isSecure() https://github.com/codeigniter4/CodeIgni...t.php#L292 |
Welcome Guest, Not a member yet? Register Sign In |