%PDF- %PDF-
Mini Shell

Mini Shell

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

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

if ($id) {
	$allActions = SGBackup::getRunningActions();
	if (count($allActions)) { // abort any other backup if there is an active action
		die();
	}

	$b = new SGBackup();
	$options = $b->getScheduleParamsById($id);

	if ($options) {
		$b->backup(json_decode($options['backup_options'], true));
	}
}

Zerion Mini Shell 1.0