+ [task#144533] add get backup detial control method.

This commit is contained in:
liyang
2025-06-25 15:04:09 +08:00
parent 849b6cfaa0
commit ab5dfaaa9a
+9
View File
@@ -736,5 +736,14 @@ class system extends control
*/
public function backupView(string $name)
{
if(!$this->config->inQuickon) $this->sendError($this->lang->system->cneStatus);
if(strpos($name, '_') !== false) $name = str_replace('_', '-', $name);
$this->loadModel('instance');
$instance = $this->config->instance->zentaopaas;
$this->view->title = $this->lang->system->backupView;
$this->view->backup = $this->loadModel('cne')->backupDetail($instance, $name);
$this->display();
}
}