mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 02:53:37 +08:00
fixed tests on master, missing views directory and suppressing notices from tempnam when storing files in tmp
This commit is contained in:
parent
cbd57be8f1
commit
c443aa09e3
|
@ -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