mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
add env-less option
This commit is contained in:
parent
8aeadcb604
commit
aadfe7f551
@ -6,7 +6,7 @@ ini_set('display_startup_errors', '1');
|
||||
error_reporting(E_ALL);
|
||||
|
||||
// Website
|
||||
define('WEBSITE_DOMAIN', 'http://' . $_SERVER['HTTP_HOST']);
|
||||
define('WEBSITE_DOMAIN', !empty($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] : '');
|
||||
|
||||
// Database
|
||||
define('DB_NAME', 'database.sqlite');
|
||||
|
Loading…
x
Reference in New Issue
Block a user