mirror of https://github.com/MISP/MISP
fix: Fixed an issue with the default bootstrap.default.php
parent
77dcfecea8
commit
b5e9d11d43
|
@ -99,7 +99,7 @@ if (!$relativePaths) {
|
|||
} else {
|
||||
$protocol = 'http';
|
||||
}
|
||||
if (!isset($_SERVER['SERVER_PORT']) || !in_array($_SERVER['SERVER_PORT'], array('443', '80')) || !$appendPort) {
|
||||
if (!isset($_SERVER['SERVER_PORT']) || in_array($_SERVER['SERVER_PORT'], array('443', '80')) || !$appendPort) {
|
||||
Configure::write('MISP.baseurl', sprintf('https://%s', $serverName));
|
||||
} else {
|
||||
Configure::write('MISP.baseurl', sprintf('https://%s:%d', $serverName, $_SERVER['SERVER_PORT']));
|
||||
|
|
Loading…
Reference in New Issue