]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/admin/check_import_finished.php
set CONST_LibDir directly from the source scripts
[nominatim.git] / lib / admin / check_import_finished.php
index bd5d7a00216a20e76dacfcc5b28feeda419193e1..f189fc9af0a49588447bef74f2521390e09f9adb 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+@define('CONST_LibDir', dirname(dirname(__FILE__)));
 
 require_once(CONST_LibDir.'/init-cmd.php');
 
@@ -18,7 +19,6 @@ $print_fail = function ($message = 'Failed') use ($term_colors) {
     echo $term_colors['red'].$message.$term_colors['normal']."\n";
 };
 
-
 $oDB = new Nominatim\DB;