]> git.openstreetmap.org Git - nominatim.git/commit
simplify connection handling in setup script
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 20 Nov 2018 21:51:37 +0000 (22:51 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 20 Nov 2018 21:51:37 +0000 (22:51 +0100)
commit409ded385f10cbe3d32ff20411f48b240bf6f328
tree0d46374469f48612f7d6b93f5648c5045f7fcc2e
parente2d0c9f3c1009476fa20627cd46fb2e068a98726
simplify connection handling in setup script

- factor out runWithEnv
- require explicit connect() call to avoid rechecking for oDB
  (more for readability than for speed)
- clean DSNInfo of empty strings and simplify check for entries
lib/setup/SetupClass.php
utils/setup.php
utils/update.php