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)) { 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