mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
push the right version of update.php
This commit is contained in:
@@ -99,9 +99,9 @@ if ($aResult['init-updates']) {
|
|||||||
fail('pyosmium-get-changes not found or not usable');
|
fail('pyosmium-get-changes not found or not usable');
|
||||||
}
|
}
|
||||||
if (!$aResult['no-update-functions']) {
|
if (!$aResult['no-update-functions']) {
|
||||||
$sSetup = CONST_InstallPath.'/utils/setup.php';
|
$sSetup ='@PHP_BIN@ '. CONST_InstallPath.'/utils/setup.php';
|
||||||
$iRet = -1;
|
$iRet = -1;
|
||||||
passthru(@PHP_BIN@.' --create-functions --enable-diff-updates', $iRet);
|
passthru($sSetup.' --create-functions --enable-diff-updates', $iRet);
|
||||||
if ($iRet != 0) {
|
if ($iRet != 0) {
|
||||||
fail('Error running setup script');
|
fail('Error running setup script');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user