From bf11f521dc621db83fa2208ea8e29f91f569952d Mon Sep 17 00:00:00 2001 From: "Dmitry (dio) Levashov" Date: Wed, 11 Apr 2012 21:02:45 +0400 Subject: [PATCH] dummy --- elfinder.src.html | 2 +- php/elFinderVolumeDriver.class.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/elfinder.src.html b/elfinder.src.html index 8bd7392e9..5771b9425 100644 --- a/elfinder.src.html +++ b/elfinder.src.html @@ -149,7 +149,7 @@ $('#finder').elfinder({ // url : 'php/connector.php', - url : 'php/connector.php', + url : 'php/connector.minimal.php', // transport : new elFinderSupportVer1(), // getFileCallback : function(files, fm) { // console.log(files); diff --git a/php/elFinderVolumeDriver.class.php b/php/elFinderVolumeDriver.class.php index bbb61f93a..c09c2a710 100644 --- a/php/elFinderVolumeDriver.class.php +++ b/php/elFinderVolumeDriver.class.php @@ -1846,6 +1846,7 @@ abstract class elFinderVolumeDriver { $f = $this->nameValidator; return $f($name); } + return preg_match($this->nameValidator, $name); } return true;