]> git.openstreetmap.org Git - nominatim.git/blobdiff - cmake/script.tmpl
pytest may also be installed as py-test[-3]
[nominatim.git] / cmake / script.tmpl
index b0e1f535bfa53f7aa4c5065c50cb4ddf6ca85d54..30b8717bac8af7d67918d157f7d7f4ff59b2bf47 100755 (executable)
@@ -1,8 +1,12 @@
 #!@PHP_BIN@ -Cq
 <?php
+require('@CMAKE_SOURCE_DIR@/lib/dotenv_loader.php');
+
 @define('CONST_Default_ModulePath', '@CMAKE_BINARY_DIR@/module');
 @define('CONST_Default_Osm2pgsql', '@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql');
 @define('CONST_BinDir', '@CMAKE_SOURCE_DIR@/utils');
 @define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
 
+loadDotEnv();
+
 require_once('@CMAKE_SOURCE_DIR@/lib/admin/@script_source@');