Merge pull request #10891 from nupplaphil/bug/httpclientfactory_dbstructure

Fix possible missing dbstructure.config.php in HTTPClientFactory.php
This commit is contained in:
Hypolite Petovan
2021-10-18 16:34:22 -04:00
committed by GitHub
6 changed files with 84 additions and 534 deletions
+2 -2
View 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 */