From: Eric Stadtherr Date: Sun, 22 Jul 2018 03:59:03 +0000 (-0600) Subject: fix variable reference X-Git-Tag: v3.2.0~36^2~3 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/bf5063de9a8eeb6e23a1450982e69897262feea6 fix variable reference --- diff --git a/utils/setup.php b/utils/setup.php index 1b4a345f..4d2ea802 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -950,6 +950,7 @@ function checkModulePresence() { // Try accessing the C module, so we know early if something is wrong // and can simply error out. + global $sModulePath; $sSQL = "CREATE FUNCTION nominatim_test_import_func(text) RETURNS text AS '"; $sSQL .= $sModulePath."/nominatim.so', 'transliteration' LANGUAGE c IMMUTABLE STRICT"; $sSQL .= ';DROP FUNCTION nominatim_test_import_func(text);';