mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 07:26:16 +08:00
add username to telegram notif
This commit is contained in:
parent
4d6041f614
commit
31b710e03c
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) {
|
|||
App::setToken(_get('stoken'), $id);
|
||||
file_put_contents($path, $m);
|
||||
_log("Customer $tur[customer_id] $tur[username] extend for $days days", "Customer", $user['id']);
|
||||
Message::sendTelegram("#u$c[username] #extend #".$p['type']." \n" . $p['name_plan'] .
|
||||
Message::sendTelegram("#u$user[username] #extend #".$p['type']." \n" . $p['name_plan'] .
|
||||
"\nLocation: " . $p['routers'] .
|
||||
"\nNew Expired: " . Lang::dateAndTimeFormat($expiration, $tur['time']));
|
||||
r2(U . 'home', 's', "Extend until $expiration");
|
||||
|
|
Loading…
Reference in a new issue