Update rfc3164.proto.php
This commit is contained in:
parent
909ce7bf96
commit
5eab10985e
|
@ -8,12 +8,14 @@
|
|||
* @updated_on 2020-01-23
|
||||
*/
|
||||
|
||||
function rfc3164_get_config() {
|
||||
$config = get_config();
|
||||
return array(
|
||||
"hostname" => get_value_in_array("rfc3164_hostname", $config, ""),
|
||||
"port" => get_value_in_array("rfc3164_port", $config, "")
|
||||
);
|
||||
if(check_function_exists("rfc3164_get_config")) {
|
||||
function rfc3164_get_config() {
|
||||
$config = get_config();
|
||||
return array(
|
||||
"hostname" => get_value_in_array("rfc3164_hostname", $config, ""),
|
||||
"port" => get_value_in_array("rfc3164_port", $config, "")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if(check_function_exists("rfc3164_send_message")) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user