]> git.openstreetmap.org Git - nominatim.git/commit
use explicit DSN for website scripts
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 15 Dec 2020 14:36:13 +0000 (15:36 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 19 Dec 2020 13:33:04 +0000 (14:33 +0100)
commitd43f30903c5be80ee9cebc0f45fb661eb4d8b8db
treed4c3ea7ae468a419b085beb5804bd4e6d31b1f19
parent15a1666f8a1e19c338015fccd502be6cfd5c24df
use explicit DSN for website scripts

Website scripts have no access to the dotenv variables, so use
the DSN constant instead when connecting to the database.
website/deletable.php
website/details.php
website/lookup.php
website/polygons.php
website/reverse.php
website/search.php
website/status.php