From 7fc24ea4f484f028fce278107c285b189e4b5e9a Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 31 Aug 2025 00:18:00 +0400 Subject: [PATCH] add suburl, expire to subs page --- app/bot.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/bot.php b/app/bot.php index ca273b9..6b728c3 100644 --- a/app/bot.php +++ b/app/bot.php @@ -6446,11 +6446,13 @@ DNS-over-HTTPS with IP: if (empty($v['off'])) { $flag = false; } - $uid = $v['id']; - $email = $v['email']; + $uid = $v['id']; + $email = $v['email']; + $expire = $v['time']; break; } } + $suburl = "subscription"; $download = $this->getBytes($st['users'][$k]['global']['download'] + $st['users'][$k]['session']['download']); $upload = $this->getBytes($st['users'][$k]['global']['upload'] + $st['users'][$k]['session']['upload']); $singbox = "$scheme://{$domain}/pac$hash/" . base64_encode(serialize([