Allow customers to enable separate log-file for (sub)domains; fixes #1117

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-07-26 11:18:14 +02:00
parent 9d113afc83
commit d1043b4645
7 changed files with 82 additions and 6 deletions

View File

@@ -89,7 +89,18 @@ return [
'type' => 'select',
'select_var' => $phpconfigs,
'selected' => (int)Settings::Get('phpfpm.enabled') == 1 ? Settings::Get('phpfpm.defaultini') : Settings::Get('system.mod_fcgid_defaultini')
]
],
'speciallogfile' => [
'label' => lng('admin.speciallogfile.title'),
'desc' => lng('admin.speciallogfile.description'),
'type' => 'select',
'select_var' => [
0 => lng('panel.no'),
1 => lng('panel.yes'),
2 => lng('domain.inherited')
],
'selected' => 2
],
]
],
'section_bssl' => [

View File

@@ -104,7 +104,18 @@ return [
'type' => 'select',
'select_var' => $phpconfigs,
'selected' => $result['phpsettingid']
]
],
'speciallogfile' => [
'label' => lng('admin.speciallogfile.title'),
'desc' => lng('admin.speciallogfile.description'),
'type' => 'checkbox',
'value' => '1',
'checked' => $result['speciallogfile']
],
'speciallogverified' => [
'type' => 'hidden',
'value' => '0'
],
]
],
'section_bssl' => [