%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/public/ajax/
Upload File :
Create Path :
Current File : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/public/ajax/downloadFromCloud.php

<?php
require_once(dirname(__FILE__) . '/../boot.php');
require_once(SG_BACKUP_PATH.'SGBackup.php');

$backup = new SGBackup();
$success = array('success' => 1);
$error = array('error' => 1);

if (backupGuardIsAjax() && count($_POST)) {
	$res = $backup->downloadBackupArchiveFromCloud($_POST['path'], $_POST['storage'], $_POST['size']);
	if (!$res) {
		die(json_encode($error));
	}
	die(json_encode($success));
}

Zerion Mini Shell 1.0