]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/setup_functions.php
don't even try heavily penalized searches
[nominatim.git] / lib-php / setup_functions.php
index c89db534c2e41cca9f0c82bf4640cb268b2f407e..400834dd28b8e27e6f0f57b60b7588ed1539800c 100755 (executable)
@@ -1,19 +1,12 @@
 <?php
-
-function checkInFile($sOSMFile)
-{
-    if (!isset($sOSMFile)) {
-        fail('missing --osm-file for data import');
-    }
-
-    if (!file_exists($sOSMFile)) {
-        fail('the path supplied to --osm-file does not exist');
-    }
-
-    if (!is_readable($sOSMFile)) {
-        fail('osm-file "' . $aCMDResult['osm-file'] . '" not readable');
-    }
-}
+/**
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ * This file is part of Nominatim. (https://nominatim.org)
+ *
+ * Copyright (C) 2022 by the Nominatim developer community.
+ * For a full list of authors see the git log.
+ */
 
 function getOsm2pgsqlBinary()
 {