Browse Source

keep within dir for deleting backups for #462

pull/463/head
ProjectPatatoe 4 years ago
parent
commit
25cdee35e2
No known key found for this signature in database GPG Key ID: EC04023B28C44502
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/admin/views/backup.html.php

+ 1
- 1
system/admin/views/backup.html.php View File

@ -3,7 +3,7 @@
if (login()) {
if (isset($_GET['file'])) {
$file = _h($_GET['file']);
$file = preg_replace('/\/|\\\\/','0',$file);
if (!empty($file)) {
unlink("backup/$file");
}


Loading…
Cancel
Save