3 * SPDX-License-Identifier: GPL-2.0-only
5 * This file is part of Nominatim. (https://nominatim.org)
7 * Copyright (C) 2022 by the Nominatim developer community.
8 * For a full list of authors see the git log.
11 require('Symfony/Component/Dotenv/autoload.php');
15 $dotenv = new \Symfony\Component\Dotenv\Dotenv();
16 $dotenv->load(CONST_ConfigDir.'/env.defaults');
18 if (file_exists('.env')) {
19 $dotenv->load('.env');