X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/433017b9907c8348a48ef1a9fa7669e3d9523f1b..04690ad8c4734c15efc920bc0dab59cf78e3e7cb:/lib/setup/SetupClass.php?ds=sidebyside diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index fd2b83de..92c36bf3 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -42,7 +42,7 @@ class SetupFunctions $this->iCacheMemory = getCacheMemoryMB(); } - $this->sModulePath = getSetting('DATABASE_MODULE_PATH', CONST_InstallDir.'/module'); + $this->sModulePath = getSetting('DATABASE_MODULE_PATH', CONST_Default_ModulePath); info('module path: ' . $this->sModulePath); // parse database string @@ -727,7 +727,7 @@ class SetupFunctions 'status.php' ); - foreach($aScripts as $sScript) { + foreach ($aScripts as $sScript) { $rFile = fopen(CONST_InstallDir.'/website/'.$sScript, 'w'); fwrite($rFile, "