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 @@ @@ -123,7 +123,7 @@
"image/ico"
]
},
"mirror":
"remote":
{
"ftp":
[

4
src/cli/document/crawl.php

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

Loading…
Cancel
Save