fix crawl request warnings

This commit is contained in:
ghost 2023-04-02 18:14:42 +03:00
parent a8ee8515c6
commit c770a912f0

View File

@ -6,7 +6,7 @@ ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
// Website
define('WEBSITE_DOMAIN', !empty($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] : '');
define('WEBSITE_DOMAIN', (issue($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] : ''));
// Database
define('DB_NAME', 'database.sqlite');