show error stacktrace

This commit is contained in:
Ibnu Maksum
2023-10-12 15:47:45 +07:00
parent 7e00feb02f
commit 95097e4512
5 changed files with 29 additions and 21 deletions

View File

@ -101,7 +101,7 @@ foreach ($d as $ds) {
$p = ORM::for_table('tbl_plans')->where('id', $u['plan_id'])->find_one();
if ($p['is_radius']) {
Radius::customerDeactivate($c['username']);
echo Radius::customerDeactivate($c['username']);
}else{
$client = Mikrotik::getClient($m['ip_address'], $m['username'], $m['password']);
if (!empty($p['pool_expired'])) {
@ -150,7 +150,7 @@ foreach ($d as $ds) {
$p = ORM::for_table('tbl_plans')->where('id', $u['plan_id'])->find_one();
if ($p['is_radius']) {
Radius::customerDeactivate($c['username']);
echo Radius::customerDeactivate($c['username']);
}else{
$client = Mikrotik::getClient($m['ip_address'], $m['username'], $m['password']);
if (!empty($p['pool_expired'])) {