mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:MySQL] support "Save As" of edit command
This commit is contained in:
@@ -543,6 +543,9 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
|
||||
unset($stat['height']);
|
||||
$stat['size'] = 0;
|
||||
} else {
|
||||
if (!$stat['mime']) {
|
||||
unset($stat['mime']);
|
||||
}
|
||||
unset($stat['dirs']);
|
||||
}
|
||||
unset($stat['id']);
|
||||
@@ -658,7 +661,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _mkfile($path, $name) {
|
||||
return $this->make($path, $name, 'text/plain') ? $this->_joinPath($path, $name) : false;
|
||||
return $this->make($path, $name, '') ? $this->_joinPath($path, $name) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user