- The SSLPort setting did not exist, no reason to try it

- The tests for this function always force port 443, no reason to
  use a port that would be in the original URL
This commit is contained in:
Marc Delisle 2013-10-26 07:42:32 -04:00
parent 6eb4e9ba56
commit 2c485d7f02

View File

@ -1379,12 +1379,7 @@ class PMA_Config
}
// Reconstruct URL using parsed parts
if ($this->get('SSLPort')) {
$port_number = $this->get('SSLPort');
} else {
$port_number = 443;
}
return 'https://' . $parsed['host'] . ':' . $port_number . $parsed['path'];
return 'https://' . $parsed['host'] . ':443' . $parsed['path'];
}
/**