Пример #1
0
 function removeTgz()
 {
     if (constant('SAAS_MODE')) {
         exit;
     }
     regex_file($_POST['tgz']);
     $backup =& $this->system->loadModel('system/backup');
     if (count($_POST['tgz']) > 0) {
         $backup->removeTgz($_POST['tgz']);
         $this->splash('success', 'index.php?ctl=system/comeback&act=index');
     } else {
         $this->splash('failed', 'index.php?ctl=system/comeback&act=index', __('删除失败:请选择操作的记录'));
     }
 }
Пример #2
0
 function ctl_tmpimage()
 {
     parent::objectPage();
     regex_file($_GET);
 }
Пример #3
0
 function ctl_template()
 {
     parent::adminPage();
     regex_file($_GET);
 }