public function fileexplorerContentSaveAction() { $this->checkPermission("fileexplorer"); $success = false; if ($this->getParam("content") && $this->getParam("path")) { $file = $this->getFileexplorerPath("path"); if (is_file($file) && is_writeable($file)) { File::put($file, $this->getParam("content")); $success = true; } } $this->_helper->json(["success" => $success]); }