Browse Source

update option name

main
ghost 1 year ago
parent
commit
349f26f5ea
  1. 2
      example/config.json
  2. 4
      src/cli/document/crawl.php

2
example/config.json

@ -123,7 +123,7 @@
"image/ico" "image/ico"
] ]
}, },
"mirror": "remote":
{ {
"ftp": "ftp":
[ [

4
src/cli/document/crawl.php

@ -416,8 +416,8 @@ foreach($search->get() as $document)
} }
} }
// Copy to FTP mirror storage on enabled // Copy to FTP storage on enabled
foreach ($config->snap->storage->mirror->ftp as $ftp) foreach ($config->snap->storage->remote->ftp as $ftp)
{ {
// Resource enabled // Resource enabled
if (!$ftp->enabled) if (!$ftp->enabled)

Loading…
Cancel
Save