]> git.openstreetmap.org Git - nominatim.git/blob - cmake/website.tmpl
adapt tests to new dotenv environment
[nominatim.git] / cmake / website.tmpl
1 <?php
2 @define('CONST_Debug', (isset($_GET['debug']) && $_GET['debug']));
3 @define('CONST_LibDir', '@CMAKE_SOURCE_DIR@/lib');
4 @define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
5 @define('CONST_InstallDir', '@CMAKE_BINARY_DIR@');
6 require_once(CONST_InstallDir.'/settings/settings-frontend.php');
7
8 require_once('@CMAKE_SOURCE_DIR@/website/@script_source@');