[VD:Box,Dropbox2,GoogleDrive] adjust option acceptedName to match each system

This commit is contained in:
nao-pon
2020-03-03 15:39:21 +09:00
parent 08300ac5f1
commit 3a4f414646
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ class elFinderVolumeBox extends elFinderVolumeDriver
'tmbPath' => '',
'tmbURL' => '',
'tmpPath' => '',
'acceptedName' => '#^[^/\\?*:|"<>]*[^./\\?*:|"<>]$#',
'acceptedName' => '#^[^\\\/]+$#',
'rootCssClass' => 'elfinder-navbar-root-box',
);
$this->options = array_merge($this->options, $opts);