will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at

Commit 2f708663 authored by mmn's avatar mmn

Installer redirects to HTTPS if ssl is set to 'always'

parent 8b08a1e7
......@@ -640,10 +640,8 @@ endforeach;
// Set permissions back to something decent
chmod(INSTALLDIR.'/config.php', 0644);
TODO https needs to be considered
$link = "http://".$this->server.'/'.$this->path;
$scheme = $this->ssl === 'always' ? 'https' : 'http';
$link = "{$scheme}://{$this->server}/{$this->path}";
$this->updateStatus("StatusNet has been installed at $link");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment