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