Skip to content

Commit 43503fc

Browse files
authored
Tweak teleporter output (#2545)
2 parents 4a9a0c2 + ea91606 commit 43503fc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/pi-hole/php/teleporter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ function noun($num)
358358

359359
$flushtables = isset($_POST['flushtables']);
360360

361+
echo 'Start importing...'."<br>\n";
361362
foreach (new RecursiveIteratorIterator($archive) as $file) {
362363
if (isset($_POST['blacklist']) && $file->getFilename() === 'blacklist.txt') {
363364
$num = archive_insert_into_table($file, 'blacklist', $flushtables);
@@ -559,7 +560,7 @@ function noun($num)
559560
}
560561

561562
unlink($fullfilename);
562-
echo 'OK';
563+
echo 'Done importing';
563564
if ($reloadsettingspage) {
564565
echo "<br>\n<span data-forcereload></span>";
565566
}

0 commit comments

Comments
 (0)