mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-29 17:38:50 +02:00
Fix theme uploader bug
This commit is contained in:
parent
29667f7c12
commit
b796e9efcb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user