v0.1.0
This commit is contained in:
9
frontend/setup/common/settings.php
Normal file
9
frontend/setup/common/settings.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
return [
|
||||
'base_url' => function() {
|
||||
if (isset($_ENV['BASE_URL'])) {
|
||||
return $_ENV['BASE_URL'];
|
||||
}
|
||||
return $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'];
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user