Skip to content
Code-Schnipsel Gruppen Projekte
Commit 4a6796ce erstellt von Florian Bogner's avatar Florian Bogner
Dateien durchsuchen

fix: Fixed the issue with duplicate https in the url sent with the registration

Übergeordneter fb0eed63
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -26,13 +26,14 @@ class CronService
// VHost Domain
$vhost = QUI::getProjectManager()->getStandard()->getVHost(true, true);
$this->domain = $vhost;
// Check if https should be used.
if (substr($vhost, 0, 8) == 'https://') {
$this->https = true;
}
$this->domain = str_replace("https://", "", $vhost);
// Read the domain from the config file if no vhost could be detected.
if (empty($vhost)) {
// Parse Domain and protocol
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren