1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Merge branch '1.5.x' into prepare-1.5.7

This commit is contained in:
Christy Jacob 2024-05-24 19:55:59 +04:00 committed by GitHub
commit 3a63ee834a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -554,6 +554,9 @@ App::init()
if (version_compare($responseFormat, '1.5.0', '<')) {
$response->addFilter(new ResponseV17());
}
if (version_compare($responseFormat, APP_VERSION_STABLE, '>')) {
$response->addHeader('X-Appwrite-Warning', "The current SDK is built for Appwrite " . $responseFormat . ". However, the current Appwrite server version is ". APP_VERSION_STABLE . ". Please downgrade your SDK to match the Appwrite version: https://appwrite.io/docs/sdks");
}
}
/*