From aacbdfebc802908e957bb24d353e5f295f746f32 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 30 Jul 2023 23:33:31 +0300 Subject: [PATCH] enable localhost DB-FS relations sync --- README.md | 2 +- cli/yggo.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7c60e4b..7482902 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ GET m=SphinxQL + [x] repair + [x] _sync DB-FS relations_ + [x] _FTP_ - + [ ] _localhost (not tested)_ + + [x] _localhost (not tested)_ + [x] _delete FS missed in the DB_ + [x] _FTP_ + [ ] _localhost_ diff --git a/cli/yggo.php b/cli/yggo.php index c2c5227..d2a50c4 100644 --- a/cli/yggo.php +++ b/cli/yggo.php @@ -123,7 +123,7 @@ switch ($argv[1]) { case 'localhost': - /* @TODO implemented, not tested + // @TODO implemented, not tested $hostPageSnapFilename = $storage->directory . $snapPath . $hostPageSnap->timeAdded . '.zip'; if (file_exists($hostPageSnapFilename)) { @@ -142,7 +142,6 @@ switch ($argv[1]) { CLI::success(sprintf(_('skip related snap #%s file: %s storage: %s index: %s;'), $hostPageSnap->hostPageSnapId, $hostPageSnapFilename, $hostPageSnapStorageName, $i)); } } - */ break;