mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 10:11:13 +01:00
Final fix
This commit is contained in:
parent
c331983b74
commit
34a226c660
@ -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.
|
||||
*
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user