]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/setup_functions.php
return 404 for details when no bject is found in database
[nominatim.git] / lib-php / setup_functions.php
index dc84cf92852df0a98765cad45f2adfd39d261571..c89db534c2e41cca9f0c82bf4640cb268b2f407e 100755 (executable)
@@ -27,7 +27,7 @@ function getImportStyle()
     $sStyle = getSetting('IMPORT_STYLE');
 
     if (in_array($sStyle, array('admin', 'street', 'address', 'full', 'extratags'))) {
-        return CONST_DataDir.'/settings/import-'.$sStyle.'.style';
+        return CONST_ConfigDir.'/import-'.$sStyle.'.style';
     }
 
     return $sStyle;