| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access.'); |
| 4 |
|
| 5 |
if (class_exists('UpdraftPlus_BackupModule_googlecloud')) return; |
| 6 |
|
| 7 |
if (version_compare(PHP_VERSION, '5.2.4', '>=')) { |
| 8 |
require_once(UPDRAFTPLUS_DIR.'/methods/viaaddon-base.php'); |
| 9 |
class UpdraftPlus_BackupModule_googlecloud extends UpdraftPlus_BackupModule_ViaAddon { |
| 10 |
public function __construct() { |
| 11 |
parent::__construct('googlecloud', 'Google Cloud', '5.2.4', 'googlecloud.png'); |
| 12 |
} |
| 13 |
} |
| 14 |
} else { |
| 15 |
require_once(UPDRAFTPLUS_DIR.'/methods/insufficient.php'); |
| 16 |
class UpdraftPlus_BackupModule_googlecloud extends UpdraftPlus_BackupModule_insufficientphp { |
| 17 |
public function __construct() { |
| 18 |
parent::__construct('googlecloud', 'Google Cloud', '5.2.4', 'googlecloud.png'); |
| 19 |
} |
| 20 |
} |
| 21 |
} |
| 22 |
|