forked from hans/Nominatim
This adds the notion of a project directory. This is the directory that holds all necessary files for one specific installation of Nominatim. Dotenv looks for an .env file in this directory and adds it to the global environment together with the defaults from Nominatim's data directory. Add's symfony's dotenv library as a new dependency.
8 lines
222 B
Cheetah
Executable File
8 lines
222 B
Cheetah
Executable File
#!@PHP_BIN@ -Cq
|
|
<?php
|
|
@define('CONST_BinDir', '@CMAKE_SOURCE_DIR@/utils');
|
|
@define('CONST_LibDir', '@CMAKE_SOURCE_DIR@/lib');
|
|
@define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
|
|
|
|
require_once(CONST_BinDir.'/@script_source@');
|