15 lines
395 B
Plaintext
15 lines
395 B
Plaintext
{
|
|
my $hordessl = $DB->get_prop('horde', 'access') or return;
|
|
if ($hordessl eq 'SSL')
|
|
{
|
|
$DB->set_prop('horde',"HttpsOnly", "yes" );
|
|
$DB->set_prop('horde',"access", "public" );
|
|
}
|
|
elsif ($hordessl eq 'full')
|
|
{
|
|
$DB->set_prop('horde',"HttpsOnly", "no" );
|
|
$DB->set_prop('horde',"access", "public" );
|
|
}
|
|
}
|
|
|