mirror of
https://github.com/flarum/core.git
synced 2025-10-18 18:26:07 +02:00
merges 5.5 and master into next-back
This commit is contained in:
@@ -80,7 +80,7 @@ class UploadFaviconController extends ShowForumController
|
||||
$mount->delete($file);
|
||||
}
|
||||
|
||||
$uploadName = 'favicon-'.Str::lower(Str::quickRandom(8)).'.'.$extension;
|
||||
$uploadName = 'favicon-'.Str::lower(Str::random(8)).'.'.$extension;
|
||||
|
||||
$mount->move('source://'.pathinfo($tmpFile, PATHINFO_BASENAME), "target://$uploadName");
|
||||
|
||||
|
Reference in New Issue
Block a user