FreeSTAR-Status-Engine/check.php
2018-11-23 22:10:49 +01:00

12 lines
248 B
PHP

<?php
require_once("config.php");
require_once("telegram.php");
try {
$auth_data = checkTelegramAuthorization($_GET);
saveTelegramUserData($auth_data);
} catch (Exception $e) {
die ($e->getMessage());
}
header('Location: index.php');
?>