Merge pull request #382 from nachtgeist/warnings

fix "undefined index" warnings
This commit is contained in:
Michael Kaufmann
2016-09-11 08:12:12 +02:00
committed by GitHub
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