]> git.mxchange.org Git - friendica.git/commitdiff
require_once dbstructure.config.php for HTTPClientFactory.php in case we didn't load...
authorPhilipp <admin@philipp.info>
Mon, 18 Oct 2021 17:36:56 +0000 (19:36 +0200)
committerPhilipp <admin@philipp.info>
Mon, 18 Oct 2021 17:36:56 +0000 (19:36 +0200)
src/Factory/HTTPClientFactory.php

index 7db5ee7b921123b31b961f48d811b2703742ac2d..12d9fd45fabb9b9eb3ef02ff3b45fa6cea683524 100644 (file)
@@ -5,10 +5,8 @@ namespace Friendica\Factory;
 use Friendica\App;
 use Friendica\BaseFactory;
 use Friendica\Core\Config\IConfig;
-use Friendica\Core\System;
 use Friendica\Network\HTTPClient;
 use Friendica\Network\IHTTPClient;
-use Friendica\Util\Crypto;
 use Friendica\Util\Profiler;
 use Friendica\Util\Strings;
 use GuzzleHttp\Client;
@@ -20,6 +18,8 @@ use Psr\Http\Message\ResponseInterface;
 use Psr\Http\Message\UriInterface;
 use Psr\Log\LoggerInterface;
 
+require_once __DIR__ . '/../../static/dbstructure.config.php';
+
 class HTTPClientFactory extends BaseFactory
 {
        /** @var IConfig */