fix "undefined index" warnings

PHP Notice:  Undefined index: parentdomainid in
[…]/froxlor/lib/classes/webserver/class.DomainSSL.php on line 49
This commit is contained in:
Daniel Reichelt
2016-09-11 02:24:00 +02:00
parent 08f36243e9
commit d56afda274
3 changed files with 5 additions and 2 deletions

View File

@@ -369,6 +369,7 @@ class apache extends HttpConfigBase {
'adminid' => 1, /* first admin-user (superadmin) */
'loginname' => 'froxlor.panel',
'documentroot' => $mypath,
'parentdomainid' => 0,
);
// override corresponding array values

View File

@@ -174,7 +174,8 @@ class lighttpd extends HttpConfigBase
'domain' => Settings::Get('system.hostname'),
'adminid' => 1, /* first admin-user (superadmin) */
'loginname' => 'froxlor.panel',
'documentroot' => $mypath
'documentroot' => $mypath,
'parentdomainid' => 0,
);
// override corresponding array values

View File

@@ -156,7 +156,8 @@ class nginx extends HttpConfigBase {
'domain' => Settings::Get('system.hostname'),
'adminid' => 1, /* first admin-user (superadmin) */
'loginname' => 'froxlor.panel',
'documentroot' => $mypath
'documentroot' => $mypath,
'parentdomainid' => 0,
);
// override corresponding array values