Installer redirects to HTTPS if ssl is set to 'always'
This commit is contained in:
parent
8b08a1e78f
commit
2f70866367
@ -640,10 +640,8 @@ endforeach;
|
|||||||
// Set permissions back to something decent
|
// Set permissions back to something decent
|
||||||
chmod(INSTALLDIR.'/config.php', 0644);
|
chmod(INSTALLDIR.'/config.php', 0644);
|
||||||
|
|
||||||
/*
|
$scheme = $this->ssl === 'always' ? 'https' : 'http';
|
||||||
TODO https needs to be considered
|
$link = "{$scheme}://{$this->server}/{$this->path}";
|
||||||
*/
|
|
||||||
$link = "http://".$this->server.'/'.$this->path;
|
|
||||||
|
|
||||||
$this->updateStatus("StatusNet has been installed at $link");
|
$this->updateStatus("StatusNet has been installed at $link");
|
||||||
$this->updateStatus(
|
$this->updateStatus(
|
||||||
|
Loading…
Reference in New Issue
Block a user