Merge branch 'hotfix/0.0.11.6'

This commit is contained in:
Jonny Barnes 2016-09-20 13:33:42 +01:00
commit 5758380968
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -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