Files
crypto/frontend/setup/common/settings.php

10 lines
196 B
PHP
Raw Normal View History

2021-06-28 23:15:13 -04:00
<?php
return [
'base_url' => function() {
if (isset($_ENV['BASE_URL'])) {
return $_ENV['BASE_URL'];
}
return $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'];
}
];