Skip to content

Commit d555da6

Browse files
committed
A bug in elfinder is fixed.
1 parent 7f85c6b commit d555da6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Serverfireteam/Panel/config/elfinder.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
use \Serverfireteam\Panel\libs\AppHelper;
4-
53
return array(
64

75
/*
@@ -68,12 +66,12 @@
6866

6967
'roots' => array(array('driver' => 'LocalFileSystem',
7068
'path' => 'files/',
71-
'accessControl' => 'access',
69+
'accessControl' => 'Serverfireteam\Panel\libs\AppHelper::access',
7270
'URL' => config('app.url') . '/files',
7371
'uploadAllow' => array('image/png', 'image/jpeg', 'image/pjpeg', 'image/gif'),
7472
'uploadDeny' => array('all'),
7573
'uploadOrder' => array('deny', 'allow'),
76-
'acceptedName' => 'validName')),
74+
'acceptedName' => 'Serverfireteam\Panel\libs\AppHelper::validName')),
7775

7876

7977
/*

0 commit comments

Comments
 (0)