source/Core/Config.php
public function isCurrentProtocol($url)
    {
        // Missing protocol, cannot proceed, assuming true.
        if (!$url || (strpos($url, "http") !== 0)) {
            return true;
        }

        return (strpos($url, "https:") === 0) == $this->isSsl();
    }
public function isCurrentProtocol($url)
    {
        // Missing protocol, cannot proceed, assuming true.
        if (!$url || (strpos($url, "http") !== 0)) {
            return true;
        }

        return (strpos($url, "https:") === 0) == $this->isSsl();
    }
public function isCurrentProtocol ( $ url ) { // Missing protocol, cannot proceed, assuming true. if ( ! $ url || ( strpos ( $ url , "http" ) !== 0 ) ) { return true ; } return ( strpos ( $ url , "https:" ) === 0 ) == $ this -> isSsl ( ) ; }
Compares current protocol to supplied url string

@param string $url URL

@return bool true if $url is equal to current page URL
Compares current protocol to supplied url string