From a461abfa6fa93cd09d26df103053a77eb92ac367 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 20 Sep 2016 13:31:39 +0100 Subject: [PATCH 1/2] Save HTML to the correct location --- app/Jobs/DownloadWebMention.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/DownloadWebMention.php b/app/Jobs/DownloadWebMention.php index 63d8d307..d9ee71ab 100644 --- a/app/Jobs/DownloadWebMention.php +++ b/app/Jobs/DownloadWebMention.php @@ -41,7 +41,7 @@ class DownloadWebMention implements ShouldQueue //Laravel should catch and retry these automatically. if ($response->getStatusCode() == '200') { $filesystem = \Illuminate\FileSystem\FileSystem(); - $filename = $this->createFilenameFromURL($source); + $filename = storage_path() . '/HTML/' . $this->createFilenameFromURL($source); //backup file first $filenameBackup = $filename . '.' . date('Y-m-d') . '.backup'; if ($filesystem->exists($filename)) { From d0f4467b3ce19bbe6ef6b01630837a49d0625482 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 20 Sep 2016 13:32:59 +0100 Subject: [PATCH 2/2] Bump version number in changelog --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index b2158a6b..4fe132f6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.0.11.6 (2016-09-20) + - Fix: save webmention HTML to correct location + ## Version 0.0.11.5 (2016-09-20) - Fix job dispatching to more in line with Laravel 5.3 practices