references:joomla.framework:environment:juri-issslisSSL
Checks whether the current URI is using HTTPS. Syntaxboolean isSSL () ExamplesExample $uri = new JURI( 'https://forum.joomla.org/index.php?topic=46226&action=new' ); echo ($uri->isSSL()) ? "This site is secure." : "This site is unsecure"; might produce: Example This site is secure. |


