This commit is contained in:
Dmitry (dio) Levashov
2011-07-14 18:57:34 +04:00
parent e2259d94ee
commit f94af37bc6
5 changed files with 60 additions and 9 deletions
+11 -1
View File
@@ -817,7 +817,7 @@ abstract class elFinderVolumeDriver {
'path' => $this->path($hash),
'url' => $this->URL,
'tmbUrl' => $this->tmbURL,
'disabled' => $this->disabled,
'disabled' => array(), //$this->disabled,
'separator' => $this->separator,
'copyOverwrite' => intval($this->options['copyOverwrite']),
'archivers' => array(
@@ -827,6 +827,16 @@ abstract class elFinderVolumeDriver {
);
}
/**
* undocumented function
*
* @return void
* @author Dmitry Levashov
**/
public function commandDisabled($cmd) {
return in_array($cmd, $this->disabled);
}
/**
* Return true if mime is required mimes list
*