1
0
mirror of https://github.com/flarum/core.git synced 2025-06-23 11:15:53 +02:00

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

This commit is contained in:
Daniël Klabbers
2019-06-24 14:55:05 +02:00
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);