Add default value for apache24_ocsp_cache_path, otherwise saving

SSL settings for !apache24 fails on apache24_ocsp_cache_path validation.
This commit is contained in:
Max Khon
2017-04-17 15:55:49 +07:00
parent cb2f094e3d
commit 3870cc1002

View File

@@ -86,7 +86,7 @@ return array(
'type' => 'string',
'string_type' => 'string',
'string_emptyallowed' => false,
'default' => '',
'default' => 'shmcb:/var/run/apache2/ocsp-stapling.cache(131072)',
'visible' => Settings::Get('system.webserver') == "apache2" &&
Settings::Get('system.apache24') == 1,
'save_method' => 'storeSettingField'