mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06:22 +05:30
Limit unlink folder
This commit is contained in:
parent
73cab6df0d
commit
2b147ebb35
3 changed files with 3 additions and 52 deletions
|
|
@ -4,7 +4,7 @@ if (login()) {
|
|||
$file = _h($_GET['file']);
|
||||
|
||||
if (!empty($file)) {
|
||||
unlink($file);
|
||||
unlink("backup/$file");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue