Files
Nominatim/cmake/script.tmpl
Sarah Hoffmann e467b956ff set CONST_LibDir directly from the source scripts
Now that the source scripts have been moved to \lib, they
can determine the position of the PHP library relative to
themselves.
2021-01-13 17:00:38 +01:00

9 lines
330 B
Cheetah
Executable File

#!@PHP_BIN@ -Cq
<?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@');
require_once('@CMAKE_SOURCE_DIR@/lib/admin/@script_source@');