Merge branch 'hotfix/0.0.11.6' into develop

This commit is contained in:
Jonny Barnes 2016-09-20 13:34:34 +01:00
commit ed5c1d4d5f
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. //Laravel should catch and retry these automatically.
if ($response->getStatusCode() == '200') { if ($response->getStatusCode() == '200') {
$filesystem = \Illuminate\FileSystem\FileSystem(); $filesystem = \Illuminate\FileSystem\FileSystem();
$filename = $this->createFilenameFromURL($source); $filename = storage_path() . '/HTML/' . $this->createFilenameFromURL($source);
//backup file first //backup file first
$filenameBackup = $filename . '.' . date('Y-m-d') . '.backup'; $filenameBackup = $filename . '.' . date('Y-m-d') . '.backup';
if ($filesystem->exists($filename)) { if ($filesystem->exists($filename)) {

View file

@ -1,5 +1,8 @@
# Changelog # Changelog
## Version 0.0.11.6 (2016-09-20)
- Fix: save webmention HTML to correct location
## Version 0.0.11.5 (2016-09-20) ## Version 0.0.11.5 (2016-09-20)
- Fix job dispatching to more in line with Laravel 5.3 practices - Fix job dispatching to more in line with Laravel 5.3 practices