mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 00:49:55 +03:00
25bdd7c6d9
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@');
|