Custom Mikrotik SMS Command

This commit is contained in:
iBNu Maksum 2024-11-21 18:08:51 +07:00
parent 38f6738c45
commit 5e2eaa5578
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
3 changed files with 134 additions and 121 deletions

View file

@ -133,6 +133,9 @@ switch ($action) {
$d->save();
}
}
if(empty($config['mikrotik_sms_command'])){
$config['mikrotik_sms_command'] = "/tool sms send";
}
$ui->assign('template_files', $templates);
$ui->assign('_c', $config);
$ui->assign('php', $php);