[INSTALL] Allow the setup of sslproxy during install time

install.php:
installer.php:
- add option field and handle logic

display.css:
- hardcode ssl's label margin-top value so all options are correctly displayed
This commit is contained in:
tenma
2020-03-15 21:37:37 +00:00
committed by Diogo Peralta Cordeiro
parent eac3f58e9a
commit 1d7855a70d
3 changed files with 7 additions and 1 deletions

View File

@@ -454,6 +454,7 @@ abstract class Installer
"\$config['site']['server'] = {$vals['server']};\n" .
"\$config['site']['path'] = {$vals['path']}; \n\n" .
"\$config['site']['ssl'] = {$vals['ssl']}; \n\n" .
($this->ssl === 'proxy' ? "\$config['site']['sslproxy'] = true;\n\n" : '') .
// checks if fancy URLs are enabled
($this->fancy ? "\$config['site']['fancy'] = true;\n\n" : '') .