Fix theme uploader bug

This commit is contained in:
Julian Prieber 2024-12-09 12:55:07 +01:00
parent 29667f7c12
commit b796e9efcb

View File

@ -766,6 +766,7 @@ class UserController extends Controller
$folder = base_path('themes');
$regex = '/[0-9.-]/';
$files = scandir($folder);
$files = array_diff($files, array('.', '..'));
foreach ($files as $file) {
$basename = basename($file);