forked from hans/Nominatim
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:
2
website/reverse.php
Executable file → Normal file
2
website/reverse.php
Executable file → Normal file
@@ -1,7 +1,5 @@
|
||||
<?php
|
||||
@define('CONST_ConnectionBucket_PageType', 'Reverse');
|
||||
|
||||
require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
|
||||
require_once(CONST_BasePath.'/lib/init-website.php');
|
||||
require_once(CONST_BasePath.'/lib/log.php');
|
||||
require_once(CONST_BasePath.'/lib/PlaceLookup.php');
|
||||
|
||||
Reference in New Issue
Block a user