mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix variable reference
This commit is contained in:
@@ -950,6 +950,7 @@ function checkModulePresence()
|
|||||||
{
|
{
|
||||||
// Try accessing the C module, so we know early if something is wrong
|
// Try accessing the C module, so we know early if something is wrong
|
||||||
// and can simply error out.
|
// and can simply error out.
|
||||||
|
global $sModulePath;
|
||||||
$sSQL = "CREATE FUNCTION nominatim_test_import_func(text) RETURNS text AS '";
|
$sSQL = "CREATE FUNCTION nominatim_test_import_func(text) RETURNS text AS '";
|
||||||
$sSQL .= $sModulePath."/nominatim.so', 'transliteration' LANGUAGE c IMMUTABLE STRICT";
|
$sSQL .= $sModulePath."/nominatim.so', 'transliteration' LANGUAGE c IMMUTABLE STRICT";
|
||||||
$sSQL .= ';DROP FUNCTION nominatim_test_import_func(text);';
|
$sSQL .= ';DROP FUNCTION nominatim_test_import_func(text);';
|
||||||
|
|||||||
Reference in New Issue
Block a user