public function define() { $params = HttpHelper::getParameters(); $_SESSION[$this->config->get('session_encryption_key')] = $this->config->get('encryption_key') . $params['key']; HttpHelper::disableCache(); HttpHelper::jsonContent('{"result": "done"}'); }
public function delete($fullpath) { $files = $this->hubic->rmdir(self::getRealname($fullpath)); HttpHelper::disableCache(); HttpHelper::jsonContent('{"result": "done"}'); }