X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FGServer.php;h=8305a3c9650666cff2f8b493efbbd1f852c6fb26;hb=a2a7d04fa1f3073e1bf79703e9516b20e502c225;hp=e33264566e4000dd42484c68bf47122fd64c93de;hpb=d52f52f45f484eee41dfb7237cab8e0c32800d4a;p=friendica.git diff --git a/src/Model/GServer.php b/src/Model/GServer.php index e33264566e..8305a3c965 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -1896,16 +1896,16 @@ class GServer * * @return array server data */ - private static function analyseRootBody($curlResult, array $serverdata): array + private static function analyseRootBody($curlResult, array $serverdata): array { if (empty($curlResult->getBody())) { return $serverdata; } - if (file_exists(__DIR__ . '/../../static/generator.config.php')) { - require __DIR__ . '/../../static/generator.config.php'; + if (file_exists(__DIR__ . '/../../static/platforms.config.php')) { + require __DIR__ . '/../../static/platforms.config.php'; } else { - throw new HTTPException\InternalServerErrorException('Invalid generator file'); + throw new HTTPException\InternalServerErrorException('Invalid platform file'); } $platforms = array_merge($ap_platforms, $dfrn_platforms, $zap_platforms, $platforms);