%PDF- %PDF-
Direktori : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/public/ajax/ |
Current File : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/public/ajax/cloudDropbox.php |
<?php require_once(dirname(__FILE__).'/../boot.php'); require_once(SG_STORAGE_PATH.'SGDropboxStorage.php'); if(backupGuardIsAjax()) { SGConfig::set('SG_DROPBOX_ACCESS_TOKEN',''); SGConfig::set('SG_DROPBOX_CONNECTION_STRING',''); if(isset($_POST['cancel'])) { die('{"success":1}'); } } $dp = new SGDropboxStorage(); try { $dp->connect(); } catch(Exception $e) { header("Location: ".SG_PUBLIC_CLOUD_URL); } if($dp->isConnected()) { header("Location: ".SG_PUBLIC_CLOUD_URL); exit(); }