Файловый менеджер - Редактировать - /home/digilove/public_html/administrator/components/com_akeeba/BackupEngine/Postproc/Connector/Ovh.php
Назад
<?php /** * Akeeba Engine * * @package akeebaengine * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Engine\Postproc\Connector; defined('AKEEBAENGINE') || die(); use Akeeba\Engine\Postproc\Connector\Cloudfiles\Exception\Http; use Akeeba\Engine\Postproc\Connector\Cloudfiles\Exception\Missing\Apikey; use Akeeba\Engine\Postproc\Connector\Cloudfiles\Exception\Missing\Tenantid; use Akeeba\Engine\Postproc\Connector\Cloudfiles\Exception\Missing\Username; use Akeeba\Engine\Postproc\Connector\Cloudfiles\Request; use DateTime; class Ovh extends Swift { /** * Ovh constructor. * * @param string $tenantId The OpenStack tenant ID. * @param string $username The OpenStack username. * @param string $password The OpenStack password. * * @throws Apikey * @throws Tenantid * @throws Username * @since 6.1.0 * */ public function __construct($tenantId, $username, $password) { // OVH is now using Keystone v3 $authEndpoint = 'https://auth.cloud.ovh.net'; // Data validation if (empty($tenantId)) { throw new TenantId('You have not specified your OVH OpenStack Project ID'); } if (empty($username)) { throw new Username('You have not specified your OVH OpenStack Username'); } if (empty($username)) { throw new Apikey('You have not specified your OVH OpenStack Password'); } parent::__construct('v3', $authEndpoint, $tenantId, $username, $password, 'Default'); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка