public function getUrl($pSSL = null)
{
if ($pSSL === null) {
// $pSSL = \Jarves\Jarves::$ssl;
}
$url = $pSSL ? 'https://' : 'http://';
if ($domain = $this->getRealDomain()) {
$url .= $domain;
} else {
$url .= $this->getDomain();
}
if ($this->getMaster() != 1) {
$url .= '/' / $this->getLang();
}
return $url . '/';
}