FileManger stuff

This commit is contained in:
Serghey Rodin 2015-10-05 23:32:25 +03:00
commit 52db853acf
11 changed files with 417 additions and 131 deletions

View file

@ -97,6 +97,10 @@ switch ($_REQUEST['action']) {
$item = $_REQUEST['item'];
print json_encode($fm->packItem($item, $dir, $target_dir, $filename));
break;
case 'backup':
$path = $_REQUEST['path'];
print json_encode($fm->backupItem($path));
break;
default:
//print json_encode($fm->init());
break;