mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
resolving repo conflicts
This commit is contained in:
commit
704bf770f7
9 changed files with 963 additions and 375 deletions
|
@ -3,10 +3,10 @@
|
|||
error_reporting(NULL);
|
||||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
$backup = $_GET['backup'];
|
||||
$backup = basename($_GET['backup']);
|
||||
|
||||
// Check if the backup exists
|
||||
if (!file_exists($backup)) {
|
||||
if (!file_exists('/backup/'.$backup)) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue