1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 16:54:44 +02:00

Bump version to 3.0.206

This commit is contained in:
Ryan Cramer
2022-10-09 09:30:38 -04:00
parent ec8555545e
commit 050c9c19c3

View File

@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 205;
const versionRevision = 206;
/**
* Version suffix string (when applicable)
@@ -279,6 +279,7 @@ class ProcessWire extends Wire {
*
*/
public function __construct($config = null, $rootURL = '/') {
parent::__construct();
if(empty($config)) $config = getcwd();
if(is_string($config)) $config = self::buildConfig($config, $rootURL);
@@ -472,7 +473,7 @@ class ProcessWire extends Wire {
// no whitelist available, so defer to server_name
$host .= $port;
} else if(isset($_SERVER['HTTP_HOST']) && $host = $_SERVER['HTTP_HOST']) {
} else if(isset($_SERVER['HTTP_HOST'])) {
// fallback to sanitized http_host if server_name not available
// note that http_host already includes port if not 80
$host = $_SERVER['HTTP_HOST'];