You've already forked Atomcms-edit
fix: update axios, move env() to config, cache config/routes/events/filament
This commit is contained in:
@@ -62,7 +62,7 @@ class BadgeUploadResource extends Resource
|
||||
|
||||
public static function getFiles(): array
|
||||
{
|
||||
$badgePath = env('BadgePath', 'badges');
|
||||
$badgePath = config('habbo.badges.path', 'badges');
|
||||
$files = Storage::disk('local')->files($badgePath);
|
||||
|
||||
return collect($files)->map(fn ($file) => [
|
||||
|
||||
Reference in New Issue
Block a user