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