Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > updraftplus > methods >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
addon-base-v2.php | File | 12366 bytes | December 23 2024 23:47:28. | |
addon-not-yet-present.php | File | 6380 bytes | March 21 2025 22:25:22. | |
azure.php | File | 1171 bytes | May 28 2025 00:56:22. | |
backblaze.php | File | 1199 bytes | December 15 2022 01:35:40. | |
backup-module.php | File | 32988 bytes | December 23 2024 23:47:28. | |
cloudfiles-new.php | File | 16676 bytes | April 17 2025 13:45:08. | |
cloudfiles.php | File | 23408 bytes | December 23 2024 23:47:28. | |
dreamobjects.php | File | 16099 bytes | May 28 2025 00:56:22. | |
dropbox.php | File | 45660 bytes | March 21 2025 22:25:22. | |
email.php | File | 6304 bytes | May 28 2025 00:56:22. | |
ftp.php | File | 19378 bytes | March 21 2025 22:25:22. | |
googlecloud.php | File | 1204 bytes | December 15 2022 01:35:40. | |
googledrive.php | File | 72859 bytes | February 26 2025 16:29:18. | |
insufficient.php | File | 5234 bytes | May 28 2025 00:56:22. | |
onedrive.php | File | 1133 bytes | December 15 2022 01:35:40. | |
openstack-base.php | File | 23920 bytes | December 23 2024 23:47:28. | |
openstack.php | File | 579 bytes | December 15 2022 01:35:40. | |
openstack2.php | File | 13035 bytes | March 21 2025 22:25:22. | |
pcloud.php | File | 726 bytes | March 09 2023 03:40:00. | |
remotesend.php | File | 24316 bytes | February 26 2025 16:29:18. | |
s3.php | File | 67819 bytes | May 28 2025 00:56:22. | |
s3generic.php | File | 16384 bytes | March 21 2025 22:25:22. | |
sftp.php | File | 1192 bytes | March 21 2025 22:25:22. | |
template.php | File | 5291 bytes | December 23 2024 23:47:28. | |
updraftvault.php | File | 57264 bytes | April 17 2025 13:45:08. | |
webdav.php | File | 1122 bytes | December 15 2022 01:35:40. |
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.'); if (!class_exists('UpdraftPlus_BackupModule')) updraft_try_include_file('methods/backup-module.php', 'require_once'); class UpdraftPlus_BackupModule_insufficientphp extends UpdraftPlus_BackupModule { private $required_php; private $error_msg; private $method; private $desc; private $image; private $error_msg_trans; public function __construct($method, $desc, $php, $image = null) { $this->method = $method; $this->desc = $desc; $this->required_php = $php; $this->image = $image; $this->error_msg = 'This remote storage method ('.$this->desc.') requires PHP '.$this->required_php.' or later'; /* translators: 1: remote storage method, 2: required PHP version */ $this->error_msg_trans = sprintf(__('This remote storage method (%1$s) requires PHP %2$s or later.', 'updraftplus'), $this->desc, $this->required_php); } private function log_error() { global $updraftplus; $updraftplus->log($this->error_msg); $updraftplus->log($this->error_msg_trans, 'error', 'insufficientphp'); return false; } /** * backup method: takes an array, and shovels them off to the cloud storage * * @param array $backup_array An array backups * @return Array */ public function backup($backup_array) {// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Unused variable is present because the function to perform backup for specific storage is not exist. return $this->log_error(); } /** * Retrieve a list of supported features for this storage method * * Currently known features: * * - multi_options : indicates that the remote storage module * can handle its options being in the Feb-2017 multi-options * format. N.B. This only indicates options handling, not any * other multi-destination options. * * - multi_servers : not implemented yet: indicates that the * remote storage module can handle multiple servers at backup * time. This should not be specified without multi_options. * multi_options without multi_servers is fine - it will just * cause only the first entry in the options array to be used. * * - config_templates : not implemented yet: indicates that * the remote storage module can output its configuration in * Handlebars format via the get_configuration_template() method. * * @return Array - an array of supported features (any features not * mentioned are assumed to not be supported) */ public function get_supported_features() { // The 'multi_options' options format is handled via only accessing options via $this->get_options() return array('multi_options', 'config_templates'); } /** * $match: a substring to require (tested via strpos() !== false) * * @param String $match THis will specify which match is used for the SQL but by default it is set to 'backup_' unless specified * @return Array */ public function listfiles($match = 'backup_') {// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Unused variable is present because the function to perform listfiles for specific storage is not exist. return new WP_Error('insufficient_php', $this->error_msg_trans); } /** * delete method: takes an array of file names (base name) or a single string, and removes them from the cloud storage * * @param String $files List of files * @param Boolean $data Specifies data or not * @param array $sizeinfo This is the size info on the file. * @return Array */ public function delete($files, $data = false, $sizeinfo = array()) {// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Unused variable is present because the function to perform delete for specific storage is not exist. return $this->log_error(); } /** * download method: takes a file name (base name), and brings it back from the cloud storage into Updraft's directory * You can register errors with $updraftplus->log("my error message", 'error') * * @param String $file List of files * @return Array */ public function download($file) {// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Unused variable is present because the function to perform download for specific storage is not exist. return $this->log_error(); } private function extra_config() { } /** * Get the configuration template * * @return String - the template, ready for substitutions to be carried out */ public function get_configuration_template() { ob_start(); $this->extra_config(); ?> <tr class="updraftplusmethod <?php echo esc_attr($this->method);?>"> <th><?php echo esc_html($this->desc);?>:</th> <td> <em> <?php echo (!empty($this->image)) ? '<p><img src="'.esc_url(UPDRAFTPLUS_URL.'/images/'.$this->image).'"></p>' : ''; echo esc_html($this->error_msg_trans); esc_html_e('You will need to ask your web hosting company to upgrade.', 'updraftplus'); /* translators: 1: plugin name, 2: version number */ echo esc_html(sprintf(__('Your %1$s version: %2$s.', 'updraftplus'), 'PHP', phpversion())); ?> </em> </td> </tr> <?php return ob_get_clean(); } }
SILENT KILLER Tool