Tweak teleporter output

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-03-13 09:29:11 +01:00
parent fbec09201a
commit ea916066a0

View File

@@ -358,6 +358,7 @@ if (isset($_POST['action'])) {
$flushtables = isset($_POST['flushtables']);
echo 'Start importing...'."<br>\n";
foreach (new RecursiveIteratorIterator($archive) as $file) {
if (isset($_POST['blacklist']) && $file->getFilename() === 'blacklist.txt') {
$num = archive_insert_into_table($file, 'blacklist', $flushtables);
@@ -559,7 +560,7 @@ if (isset($_POST['action'])) {
}
unlink($fullfilename);
echo 'OK';
echo 'Done importing';
if ($reloadsettingspage) {
echo "<br>\n<span data-forcereload></span>";
}