+ [task#144533] add get backup detial control method.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user