You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
624 B
20 lines
624 B
13 years ago
|
{
|
||
|
|
||
|
my $llng = $DB->get("lemonldap") ||
|
||
|
$DB->new_record("lemonldap", { type => "service" });
|
||
|
|
||
|
my @soapaccess = split(/[;,]/, ($llng->prop('SoapAllowFrom') || ''));
|
||
|
my $internal = $DB->get('InternalInterface')->prop('IPAddress');
|
||
|
push @soapaccess, $internal if (!grep {$internal eq $_} @soapaccess);
|
||
|
$llng->set_prop('SoapAllowFrom', join(',',@soapaccess));
|
||
|
|
||
|
# httpd-fpbx handler
|
||
|
my @reload = split(/[;,]/, ($llng->prop('Reload') || ''));
|
||
|
my $reloadurl = 'localhost:960=http://localhost:960/lm-reload';
|
||
|
push @reload, $reloadurl if (!grep {$reloadurl eq $_} @reload);
|
||
|
|
||
|
$llng->set_prop('Reload', join(',',@reload));
|
||
|
|
||
|
}
|
||
|
|