add username to telegram notif
This commit is contained in:
parent
4d6041f614
commit
31b710e03c
@ -171,7 +171,7 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) {
|
|||||||
App::setToken(_get('stoken'), $id);
|
App::setToken(_get('stoken'), $id);
|
||||||
file_put_contents($path, $m);
|
file_put_contents($path, $m);
|
||||||
_log("Customer $tur[customer_id] $tur[username] extend for $days days", "Customer", $user['id']);
|
_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'] .
|
"\nLocation: " . $p['routers'] .
|
||||||
"\nNew Expired: " . Lang::dateAndTimeFormat($expiration, $tur['time']));
|
"\nNew Expired: " . Lang::dateAndTimeFormat($expiration, $tur['time']));
|
||||||
r2(U . 'home', 's', "Extend until $expiration");
|
r2(U . 'home', 's', "Extend until $expiration");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user