mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 12:48:08 +09:00
adding https support
make the checkbox "Use Secure connection:" working
This commit is contained in:
1 parent
366572908d
commit
563957cc70
1 file changed
+5
-2
@@ -42,8 +42,11 @@ class Server_Manager_Directadmin extends Server_Manager
|
||||
|
||||
public function getLoginUrl()
|
||||
{
|
||||
$host = $this->_config['host'];
|
||||
return 'http://' . $host . ':2222';
|
||||
$protocol = 'https://';
|
||||
if (!$this->_config['secure']) {
|
||||
$protocol = 'http://';
|
||||
}
|
||||
return $protocol.$this->_config['host'] . ':2222';
|
||||
}
|
||||
|
||||
public function getResellerLoginUrl()
|
||||
|
||||
Reference in new issue
Block a user