Add upstream
This commit is contained in:
15
wp-content/plugins/updraftplus/methods/openstack.php
Normal file
15
wp-content/plugins/updraftplus/methods/openstack.php
Normal file
@@ -0,0 +1,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');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user