]> git.openstreetmap.org Git - nominatim.git/blob - lib-php/admin/check_import_finished.php
use tmp_path fixture in config tests
[nominatim.git] / lib-php / admin / check_import_finished.php
1 <?php
2 @define('CONST_LibDir', dirname(dirname(__FILE__)));
3
4 require_once(CONST_LibDir.'/init-cmd.php');
5
6 loadSettings(getcwd());
7
8 (new \Nominatim\Shell(getSetting('NOMINATIM_TOOL')))
9     ->addParams('admin', '--check-database')
10     ->run();