public static function getUrl() { $domain = "http"; $domain .= self::isHttps() ? "s" : ""; $domain .= "://" . self::getHostName(); return $domain; }
/** * Return the site url itself * * @uses : To get the site url * @example : http://mysite.com/ * @return string */ public function getSiteUrl() { return Env::getUrl(); }