Skip to content

Commit 88092bb

Browse files
authored
Update subLink.php
1 parent eb832ee commit 88092bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

settings/subLink.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
include "../baseInfo.php";
33
include "../config.php";
4-
54
$connection = new mysqli('localhost',$dbUserName,$dbPassword,$dbName);
65
if($connection->connect_error){
76
exit("error " . $connection->connect_error);
@@ -84,7 +83,7 @@
8483

8584

8685

87-
$newRemark = preg_replace("/\(📊.+\/.+\|📆.+\)/","", $remark) . "(📊" . $totalUsed . " / " . $total . "|📆" . $daysLeft . ")";
86+
$newRemark = preg_replace("/\(📊.+-.+\|📆.+\)/","", $remark) . "(📊" . $totalUsed . " - " . $total . "|📆" . $daysLeft . ")";
8887
if($inbound_id == 0) $res = editInboundRemark($server_id, $remark, $newRemark);
8988
else $res = editClientRemark($server_id, $inbound_id, $remark, $newRemark);
9089

@@ -102,4 +101,4 @@
102101
}
103102
}
104103
echo "Wrong token";
105-
?>
104+
?>

0 commit comments

Comments
 (0)