install executables and call settings.php explicitly

Executables (including websites) need to be installed in the
build directory, so that they can find the right settings.php.
settings now defines build and source dir.
This commit is contained in:
Sarah Hoffmann
2016-03-09 00:07:46 +01:00
parent b24ef60b33
commit 5ccb499a6f
20 changed files with 78 additions and 39 deletions

View File

@@ -1,8 +1,9 @@
#!/usr/bin/php -Cq
<?php
require_once(dirname(dirname(__FILE__)).'/lib/init-cmd.php');
ini_set('memory_limit', '800M');
require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
require_once(CONST_BasePath.'/lib/init-cmd.php');
ini_set('memory_limit', '800M');
$aCMDOptions = array(
"Import / update / index osm data",