$_SERVER['HTTPS'] == "on") ? "https" : "http");
public $baseURL .= "://".$_SERVER['HTTP_HOST'];
public $baseURL .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
What's the error?
Обсуждают сегодня