X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a61f852cd2c9fa5f0e3d221590f32bb2403d617b..65500927c2955860d392f76fa9b2c318ccd716d2:/utils/setup.php?ds=sidebyside diff --git a/utils/setup.php b/utils/setup.php index 06216587..e4e91674 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -292,8 +292,8 @@ if ($aCMDResult['create-partition-functions'] || $aCMDResult['all']) { if ($aCMDResult['import-wikipedia-articles'] || $aCMDResult['all']) { $bDidSomething = true; - $sWikiArticlesFile = CONST_BasePath.'/data/wikipedia_article.sql.bin'; - $sWikiRedirectsFile = CONST_BasePath.'/data/wikipedia_redirect.sql.bin'; + $sWikiArticlesFile = CONST_Wikipedia_Data_Path.'/wikipedia_article.sql.bin'; + $sWikiRedirectsFile = CONST_Wikipedia_Data_Path.'/wikipedia_redirect.sql.bin'; if (file_exists($sWikiArticlesFile)) { echo "Importing wikipedia articles..."; pgsqlRunDropAndRestore($sWikiArticlesFile);