mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
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:
4
cmake/script.tmpl
Executable file
4
cmake/script.tmpl
Executable file
@@ -0,0 +1,4 @@
|
||||
#!@PHP_BIN@ -Cq
|
||||
<?php
|
||||
require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
|
||||
require_once(CONST_BasePath.'/@script_source@');
|
||||
3
cmake/website.tmpl
Executable file
3
cmake/website.tmpl
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
|
||||
require_once(CONST_BasePath.'/@script_source@');
|
||||
Reference in New Issue
Block a user