mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
filemanager improvements
This commit is contained in:
parent
03381b828f
commit
136cc17873
32 changed files with 68 additions and 22 deletions
|
@ -237,9 +237,6 @@ class FileManager {
|
|||
}
|
||||
|
||||
function renameFile($item, $target_name) {
|
||||
// $item = $this->formatFullPath($dir . '/' . $item);
|
||||
// $dst_item = $this->formatFullPath($dir . '/' . $target_name);
|
||||
|
||||
$item = $this->formatFullPath($item);
|
||||
$dst_item = $this->formatFullPath($target_name);
|
||||
|
||||
|
@ -366,7 +363,7 @@ class FileManager {
|
|||
'owner' => $info[$this->info_positions['OWNER']],
|
||||
'group' => $info[$this->info_positions['GROUP']],
|
||||
'size' => $info[$this->info_positions['SIZE']],
|
||||
'name' => $info[$this->info_positions['NAME']]
|
||||
'name' => htmlspecialchars($info[$this->info_positions['NAME']], ENT_QUOTES)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue