]> git.openstreetmap.org Git - nominatim.git/commit
avoid accessing constants when getting data from env
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 14 Jan 2021 08:30:23 +0000 (09:30 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 14 Jan 2021 08:37:04 +0000 (09:37 +0100)
commit0847964a2788c3560ea7a5133508790c2c07adc8
tree7f54b5f0064f8054e98ffb35bc49b53724b0d769
parentbc09d7aedbf3fbc2a1471c70fde43f8eb5a432e2
avoid accessing constants when getting data from env

When a setting can be read from the environment variable, avoid
accessing the internal defaults. This way the scripts can be
accessed directly in \lib as long as the environment is set up
correctly with full defaults.
lib/setup/SetupClass.php
lib/setup_functions.php