break; case 'search': $Filemanager->search(); break; case 'find': $Filemanager->find(); break; case 'open': $Filemanager->open(); break; case 'open_in_browser': $Filemanager->openinbrowser(); break; case 'create': $Filemanager->create(); break; case 'delete': $Filemanager->delete(); break; case 'modify': $Filemanager->modify(); break; case 'duplicate': $Filemanager->duplicate(); break; case 'upload': $Filemanager->upload(); break; default: exit('{"status":"fail","data":{"error":"Unknown Action"}}'); }