Browse Source

enable localhost DB-FS relations sync

main
ghost 1 year ago
parent
commit
aacbdfebc8
  1. 2
      README.md
  2. 3
      cli/yggo.php

2
README.md

@ -230,7 +230,7 @@ GET m=SphinxQL
+ [x] repair + [x] repair
+ [x] _sync DB-FS relations_ + [x] _sync DB-FS relations_
+ [x] _FTP_ + [x] _FTP_
+ [ ] _localhost (not tested)_ + [x] _localhost (not tested)_
+ [x] _delete FS missed in the DB_ + [x] _delete FS missed in the DB_
+ [x] _FTP_ + [x] _FTP_
+ [ ] _localhost_ + [ ] _localhost_

3
cli/yggo.php

@ -123,7 +123,7 @@ switch ($argv[1]) {
case 'localhost': case 'localhost':
/* @TODO implemented, not tested // @TODO implemented, not tested
$hostPageSnapFilename = $storage->directory . $snapPath . $hostPageSnap->timeAdded . '.zip'; $hostPageSnapFilename = $storage->directory . $snapPath . $hostPageSnap->timeAdded . '.zip';
if (file_exists($hostPageSnapFilename)) { 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)); CLI::success(sprintf(_('skip related snap #%s file: %s storage: %s index: %s;'), $hostPageSnap->hostPageSnapId, $hostPageSnapFilename, $hostPageSnapStorageName, $i));
} }
} }
*/
break; break;

Loading…
Cancel
Save