Restructure script and website installation

Just make cmake install a small stub that includes
the settings from the build directory and then the
script from the source directory. Remove executable
rights from php files in utils/ so that they cannot
be accidentally executed.
This commit is contained in:
Sarah Hoffmann
2018-12-02 11:13:48 +01:00
parent 8b8ee00725
commit e70f405abd
20 changed files with 27 additions and 40 deletions

2
utils/export.php Executable file → Normal file
View File

@@ -1,10 +1,8 @@
#!@PHP_BIN@ -Cq
<?php
// Script to extract structured city and street data
// from a running nominatim instance as CSV data
require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
require_once(CONST_BasePath.'/lib/init-cmd.php');
require_once(CONST_BasePath.'/lib/ParameterParser.php');
ini_set('memory_limit', '800M');