Commit 4978c5b2 authored by Aria Givi's avatar Aria Givi
Browse files

rename

parent 19ff7610
......@@ -51,8 +51,7 @@ class UpdateKelkooFeed extends Command
$this->createDirs();
$this->deleteOldArchives();
if(!$this->errorEncountered)
$this->downloadNewFeeds();
$this->downloadNewFeeds();
if(!$this->errorEncountered && $this->checkMD5()) {
$this->extractReplaceFeedFiles();
}
......@@ -85,7 +84,7 @@ class UpdateKelkooFeed extends Command
return;
} else {
if(ftp_login($connection, env("kelkoo_username"), env("kelkoo_pass"))) {
$contents = ftp_nlist($connection, $this->remoteFilePath);
$contents = ftp_mlsd($connection, $this->remoteFilePath);
foreach ($contents as $content) {
if(ftp_get($connection, config_path() . $this->localFeedFilePath . basename($content) , $this->remoteFilePath . basename($content) , FTP_BINARY)) {
echo "File transfer successful - ". config_path() . $this->localFeedFilePath . basename($content) . "\n";
......
......@@ -231,7 +231,7 @@ class MetaGer
return sizeof($viewResults) . ";" . round((microtime(true) - $this->starttime), 2);
break;
case 'product-tiles':
return view('resultpages.productTiles')
return view('resultpages.product-tiles')
->with('eingabe', $this->eingabe)
->with('mobile', $this->mobile)
->with('warnings', $this->warnings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment