resolving repo conflicts

This commit is contained in:
Serghey Rodin 2016-06-25 11:07:06 +03:00
commit 704bf770f7
9 changed files with 963 additions and 375 deletions

View file

@ -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);
}