diff --git a/includes/core/page.inc.php b/includes/core/page.inc.php index d35a7d3..e105d35 100644 --- a/includes/core/page.inc.php +++ b/includes/core/page.inc.php @@ -30,7 +30,7 @@ abstract class Page { $root = Loader::PackageConfig( 'core' )->get( 'pages/baseURL' , null , false ); if (is_null($root)) { - $root = ( ( $_SERVER[ 'HTTPS' ] ?: false ) ? 'https' : 'http' ) + $root = ( ( $_SERVER[ 'HTTPS' ] ?? false ) ? 'https' : 'http' ) . '://' . $_SERVER[ 'HTTP_HOST' ]; } return rtrim($root, '/');