Skip to content

Commit

Permalink
Remove unused DOMAIN_NAME define
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Loison committed Mar 10, 2024
1 parent 5e9d989 commit 42b53ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
define('NEW_ADD_KEY_FORCE_SECRET', $newAddKeyForceSecret);
use const NEW_ADD_KEY_FORCE_SECRET as ADD_KEY_FORCE_SECRET;

define('DOMAIN_NAME', $_SERVER['SERVER_NAME']);
$protocol = (!empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'https' : 'http';
define('WEBSITE_URL_BASE', "$protocol://{$_SERVER['HTTP_HOST']}");
define('WEBSITE_URL', WEBSITE_URL_BASE . "{$_SERVER['REQUEST_URI']}");
Expand Down

0 comments on commit 42b53ff

Please sign in to comment.