Esempio n. 1
0
 public static function url($sUrl, $sPort = null)
 {
     // AP: Not sure why I ever added this, but it causes port 80 being added to https
     // Talk to me if you must add this back
     // if (!$sPort) {
     // 	if (preg_match("|^https://|", $sUrl)) {
     // 		$sPort = M::HTTPS_PORT();
     // 	} else {
     // 		$sPort = M::HTTP_PORT();
     // 	}
     // }
     return Abs::absolutize($sUrl, $sPort);
 }