GRAYBYTE WORDPRESS FILE MANAGER3765

Server IP : 162.213.255.40 / Your IP : 216.73.216.121
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/plugins/updraftplus/includes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/plugins/updraftplus/includes//updraftcentral.php
<?php

if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.');

if (!class_exists('UpdraftPlus_Login')) require_once('updraftplus-login.php');

class UpdraftPlus_UpdraftCentral_Cloud extends UpdraftPlus_Login {

	/**
	 * Pulls the appropriate message for the given code and translate it before
	 * returning it to the caller
	 *
	 * @internal
	 * @param string $code The code of the message to pull
	 * @return string - The translated message
	 */
	protected function translate_message($code) {
		switch ($code) {
			case 'generic':
			default:
				return __('An error has occurred while processing your request.', 'updraftplus').' '.__('The server might be busy or you have lost your connection to the internet at the time of the request.', 'updraftplus').' '.__('Please try again later.', 'updraftplus');
				break;
		}
	}

	/**
	 * Executes login or registration process. Connects and sends request to the UpdraftCentral Cloud
	 * and returns the response coming from the server
	 *
	 * @internal
	 * @param array   $data     The submitted form data
	 * @param boolean $register Indicates whether the current call is for a registration process or not. Defaults to false.
	 * @return array - The response from the request
	 */
	protected function login_or_register($data, $register = false) {
		global $updraftplus, $updraftcentral_main;

		$action = ($register) ? 'updraftcentral_cloud_register' : 'updraftcentral_cloud_login';
		if (empty($data['site_url'])) $data['site_url'] = trailingslashit(network_site_url());

		$response = $this->send_remote_request($data, $action);
		if (is_wp_error($response)) {
			$response = array('error' => true, 'code' => $response->get_error_code(), 'message' => $response->get_error_message());
		} else {
			if (isset($response['status'])) {
				if (in_array($response['status'], array('authenticated', 'registered'))) {
					$response['redirect_url'] = $updraftplus->get_url('mothership').'/?udm_action=updraftcentral_cloud_redirect';

					if (is_a($updraftcentral_main, 'UpdraftCentral_Main')) {
						$response['keys_table'] = $updraftcentral_main->get_keys_table();
					}

					if (!empty($data['addons_options_connect']) && class_exists('UpdraftPlus_Options')) {
						UpdraftPlus_Options::update_updraft_option('updraftplus_com_and_udc_connection_success', 1, false);
					}

				} else {
					if ('error' === $response['status']) {
						$response = array(
							'error' => true,
							'code' => isset($response['code']) ? $response['code'] : -1,
							'message' => isset($response['message']) ? $response['message'] : $this->translate_message('generic'),
							'response' => $response
						);
					}
				}
			} else {
				$response = array('error' => true, 'message' => $this->translate_message('generic'));
			}
		}

		return $response;
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Dropbox2
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Google
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
blockui
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
checkout-embed
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
cloudfiles
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
handlebars
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
images
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
jquery-ui.dialog.extended
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
jquery.serializeJSON
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
jstree
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
labelauty
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
pcloud
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
tether
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
tether-shepherd
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
updraftclone
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:28
hellrfbn / hellrfbn
0644
S3.php
76.423 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
S3compat.php
30.841 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
cacert.pem
216.279 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-backup-history.php
39.482 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-commands.php
48.606 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-database-utility.php
36.452 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-filesystem-functions.php
40.292 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-http-error-descriptions.php
11.396 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-job-scheduler.php
10.305 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-manipulation-functions.php
16.737 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-partialfileservlet.php
7.381 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-remote-send.php
30.175 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-search-replace.php
20.088 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-semaphore.php
6.273 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-storage-methods-interface.php
18.227 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-updraft-dashboard-news.php
8.049 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-updraft-semaphore.php
7.513 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-updraftcentral-updraftplus-commands.php
1.813 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-updraftplus-encryption.php
13.635 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-wpadmin-commands.php
36.302 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
class-zip.php
17.876 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
ftp.class.php
6.503 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
get-cpanel-quota-usage.pl
0.398 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
google-extensions.php
9.274 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
jquery-ui.custom-v1.11.4-1-25-1.min.css
37.843 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
jquery-ui.custom-v1.11.4-1-25-1.min.css.map
57.006 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
jquery-ui.custom-v1.11.4.css
42.181 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
jquery-ui.custom-v1.12.1-1-25-1.min.css
39.548 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
jquery-ui.custom-v1.12.1-1-25-1.min.css.map
59.413 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
jquery-ui.custom-v1.12.1.css
44.033 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
migrator-lite.php
52.476 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraft-admin-common-1-25-1.min.js
153.627 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraft-admin-common.js
254.165 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraft-restorer-skin-compatibility.php
0.441 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraft-restorer-skin.php
1.683 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraftcentral.php
2.743 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraftplus-clone.php
7.018 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraftplus-login.php
4.266 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraftplus-notices.php
20.961 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraftplus-tour.php
13.077 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
updraftvault.php
1.992 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF