From 1f9b1503b99e7b84d1956e966a7cae7ebeb06e38 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 2 Apr 2023 01:51:54 +0300 Subject: [PATCH] add server environment configuration to keep the multi-adresing support --- config/app.php.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.php.txt b/config/app.php.txt index 20d7bdc..5c1e56d 100644 --- a/config/app.php.txt +++ b/config/app.php.txt @@ -6,7 +6,7 @@ ini_set('display_startup_errors', '1'); error_reporting(E_ALL); // Website -define('WEBSITE_DOMAIN', ''); +define('WEBSITE_DOMAIN', 'http://' . $_SERVER['HTTP_HOST']); // Database define('DB_NAME', 'database.sqlite');