mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
delete PHP_BIN from default and add @PHP_BIN@ to passthru function in update.php
This commit is contained in:
@@ -101,7 +101,7 @@ if ($aResult['init-updates']) {
|
||||
if (!$aResult['no-update-functions']) {
|
||||
$sSetup = CONST_InstallPath.'/utils/setup.php';
|
||||
$iRet = -1;
|
||||
passthru($sSetup.' --create-functions --enable-diff-updates', $iRet);
|
||||
passthru(@PHP_BIN@.' --create-functions --enable-diff-updates', $iRet);
|
||||
if ($iRet != 0) {
|
||||
fail('Error running setup script');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user