X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/2059e18e8b0e39091ef5a228ac56da0f27457be4..0ef64258470a5665b20122a75cbac1bb8cc7121c:/lib/setup/SetupClass.php diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index 38f361e7..92d6347b 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -648,7 +648,9 @@ class SetupFunctions private function createSqlFunctions() { + $sBasePath = CONST_BasePath.'/sql/functions/'; $sTemplate = file_get_contents(CONST_BasePath.'/sql/functions.sql'); + $sTemplate .= file_get_contents($sBasePath.'normalization.sql'); $sTemplate = str_replace('{modulepath}', $this->sModulePath, $sTemplate); if ($this->bEnableDiffUpdates) { $sTemplate = str_replace('RETURN NEW; -- %DIFFUPDATES%', '--', $sTemplate);