add server environment configuration to keep the multi-adresing support

This commit is contained in:
ghost 2023-04-02 01:51:54 +03:00
parent 9b67c04889
commit 1f9b1503b9

View File

@ -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');