| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access.'); |
| 4 |
|
| 5 |
// Necessary to place the code in a separate file, because it uses namespaces, which cause a fatal error in PHP 5.2 |
| 6 |
if (version_compare(phpversion(), '5.3.3', '>=')) { |
| 7 |
require_once(UPDRAFTPLUS_DIR.'/methods/openstack2.php'); |
| 8 |
} else { |
| 9 |
require_once(UPDRAFTPLUS_DIR.'/methods/insufficient.php'); |
| 10 |
class UpdraftPlus_BackupModule_openstack extends UpdraftPlus_BackupModule_insufficientphp { |
| 11 |
public function __construct() { |
| 12 |
parent::__construct('openstack', 'OpenStack', '5.3.3'); |
| 13 |
} |
| 14 |
} |
| 15 |
} |
| 16 |
|