diff --git a/example/config.json b/example/config.json index 65bcce3..87b8dfb 100644 --- a/example/config.json +++ b/example/config.json @@ -123,7 +123,7 @@ "image/ico" ] }, - "mirror": + "remote": { "ftp": [ diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index f661d7f..7948c09 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -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)