forked from hans/Nominatim
switch all utils to initialising dotenv
This commit is contained in:
@@ -4,10 +4,6 @@ require('Symfony/Component/Dotenv/autoload.php');
|
||||
|
||||
function loadSettings($sProjectDir)
|
||||
{
|
||||
if (!$sProjectDir) {
|
||||
$sProjectDir = getcwd();
|
||||
}
|
||||
|
||||
@define('CONST_InstallDir', $sProjectDir);
|
||||
|
||||
$dotenv = new \Symfony\Component\Dotenv\Dotenv();
|
||||
|
||||
Reference in New Issue
Block a user