- give ssl-vhost files another name that non-ssl vhost files, now really fixes #254
This commit is contained in:
@@ -283,10 +283,18 @@ class lighttpd
|
|||||||
if((int)$domain['parentdomainid'] == 0)
|
if((int)$domain['parentdomainid'] == 0)
|
||||||
{
|
{
|
||||||
$vhost_no = '51';
|
$vhost_no = '51';
|
||||||
|
if($ssl == '1')
|
||||||
|
{
|
||||||
|
$vhost_no = '61';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$vhost_no = '50';
|
$vhost_no = '50';
|
||||||
|
if($ssl == '1')
|
||||||
|
{
|
||||||
|
$vhost_no = '60';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$vhost_filename = makeCorrectFile($this->settings['system']['apacheconf_vhost'].'/vhosts/'.$vhost_no.'_'.$domain['domain'].'.conf');
|
$vhost_filename = makeCorrectFile($this->settings['system']['apacheconf_vhost'].'/vhosts/'.$vhost_no.'_'.$domain['domain'].'.conf');
|
||||||
|
|||||||
Reference in New Issue
Block a user