mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 10:43:02 +03:00
9348fc5e15
This means that the php-symfony-dotenv library is now only needed when using the legacy scripts. This includes the BDD tests which currently still rely on the PHP utils.
13 lines
399 B
Cheetah
Executable File
13 lines
399 B
Cheetah
Executable File
#!@PHP_BIN@ -Cq
|
|
<?php
|
|
require('@CMAKE_SOURCE_DIR@/lib/dotenv_loader.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@');
|
|
|
|
loadDotEnv();
|
|
|
|
require_once('@CMAKE_SOURCE_DIR@/lib/admin/@script_source@');
|