1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 06:13:54 +01:00

Final fix

This commit is contained in:
Daniil Gentili 2023-07-18 19:43:42 +02:00
parent c331983b74
commit 34a226c660
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ final class API extends AbstractAPI
*
* @var string
*/
public const RELEASE = '8.0.0-beta106';
public const RELEASE = '8.0.0-beta107';
/**
* Secret chat was not found.
*

View File

@ -70,7 +70,7 @@ trait Loop
$id = Shutdown::addCallback(static function () use (&$logger): void {
$params = $_GET;
$params['MadelineSelfRestart'] = Tools::randomInt();
$url = \explode('?', $_SERVER['REQUEST_URI'], 2)[0] ?? '';
$url = \explode('?', $_SERVER['REQUEST_URI'] ?? '', 2)[0] ?? '';
$query = \http_build_query($params);
WebRunner::selfStart("$url?$query");