]> git.openstreetmap.org Git - nominatim.git/blob - cmake/script.tmpl
move transliteration of housenumbers into indexing
[nominatim.git] / cmake / script.tmpl
1 #!@PHP_BIN@ -Cq
2 <?php
3 require('@CMAKE_SOURCE_DIR@/lib-php/dotenv_loader.php');
4
5 @define('CONST_Default_ModulePath', '@CMAKE_BINARY_DIR@/module');
6 @define('CONST_Default_Osm2pgsql', '@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql');
7 @define('CONST_DataDir', '@CMAKE_SOURCE_DIR@/data');
8 @define('CONST_SqlDir', '@CMAKE_SOURCE_DIR@/lib-sql');
9 @define('CONST_ConfigDir', '@CMAKE_SOURCE_DIR@/settings');
10
11 loadDotEnv();
12 $_SERVER['NOMINATIM_NOMINATIM_TOOL'] = '@CMAKE_BINARY_DIR@/nominatim';
13
14 require_once('@CMAKE_SOURCE_DIR@/lib-php/admin/@script_source@');