mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
File Manager stuff
This commit is contained in:
parent
cad14057cc
commit
55eb1ec16a
5 changed files with 131 additions and 12 deletions
|
@ -31,6 +31,11 @@ switch ($_REQUEST['action']) {
|
|||
$dir = $_REQUEST['dir'];
|
||||
print json_encode($fm->ls($dir));
|
||||
break;
|
||||
case 'check_file_type':
|
||||
$dir = $_REQUEST['dir'];
|
||||
|
||||
print json_encode($fm->checkFileType($dir));
|
||||
break;
|
||||
case 'rename_file':
|
||||
$dir = $_REQUEST['dir'];
|
||||
$item = $_REQUEST['item'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue