0
This commit is contained in:
1 parent
36d6c08ea7
commit
3c95c4ff7a
9 files changed
+81
-77
No files matched your search
@@ -252,7 +252,9 @@ class BackUp extends AdminBase
|
||||
$db= new up($this->upcnf);
|
||||
$list = $db->getFile('timeverif', $time);
|
||||
$url = $list['1']['1'];
|
||||
$title = date('Ymdhis') . '.sql';
|
||||
$l = strripos($url, '\\', 0) + 1;
|
||||
$title = substr($url, $l, strlen($url) - $l);
|
||||
$title = str_replace('-', '', $title);
|
||||
return download($url, $title);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user