Merge branch 'master' of github.com:flarum/core

This commit is contained in:
Daniël Klabbers 2019-06-24 14:55:05 +02:00
commit e3340ba3e1
2 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class JsCompiler extends RevisionCompiler
$this->assetsDir->put($file, implode("\n", $output));
$mapTemp = tempnam(storage_path('tmp'), $mapFile);
$mapTemp = @tempnam(storage_path('tmp'), $mapFile);
$map->save($mapTemp);
$this->assetsDir->put($mapFile, file_get_contents($mapTemp));
@unlink($mapTemp);