16 lines
557 B
PHP
Raw Normal View History

2016-11-28 21:52:15 -08:00
<?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', '>=')) {
require_once(UPDRAFTPLUS_DIR.'/methods/openstack2.php');
} else {
require_once(UPDRAFTPLUS_DIR.'/methods/insufficient.php');
class UpdraftPlus_BackupModule_openstack extends UpdraftPlus_BackupModule_insufficientphp {
public function __construct() {
parent::__construct('openstack', 'OpenStack', '5.3.3');
}
}
}