mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 14:07:32 +08:00
Merge branch 'master' of github.com:flarum/core
This commit is contained in:
commit
b7e1cfd88e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user