X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0947b618085f7d46515a3ec06cab5ed818e8635f..992d3faac81baa105c92874a412ebf5389c0ca14:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 9f266aeb..aeba499b 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -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();