add new security.limit_extensions setting to fpm-daemon settings
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -81,6 +81,15 @@ return array(
|
||||
'desc' => $lng['serversettings']['phpfpm_settings']['idle_timeout']['description'],
|
||||
'type' => 'int',
|
||||
'value' => 30
|
||||
),
|
||||
'limit_extensions' => array(
|
||||
'label' => $lng['serversettings']['phpfpm_settings']['limit_extensions']['title'],
|
||||
'desc' => $lng['serversettings']['phpfpm_settings']['limit_extensions']['description'],
|
||||
'type' => 'string',
|
||||
'string_delimiter' => ' ',
|
||||
'string_regexp' => '^\.[a-z]([a-z0-9]+)',
|
||||
'string_emptyallowed' => false,
|
||||
'value' => '.php'
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -82,6 +82,15 @@ return array(
|
||||
'desc' => $lng['serversettings']['phpfpm_settings']['idle_timeout']['description'],
|
||||
'type' => 'int',
|
||||
'value' => $result['idle_timeout']
|
||||
),
|
||||
'limit_extensions' => array(
|
||||
'label' => $lng['serversettings']['phpfpm_settings']['limit_extensions']['title'],
|
||||
'desc' => $lng['serversettings']['phpfpm_settings']['limit_extensions']['description'],
|
||||
'type' => 'string',
|
||||
'string_delimiter' => ' ',
|
||||
'string_regexp' => '^\.[a-z]([a-z0-9]+)',
|
||||
'string_emptyallowed' => false,
|
||||
'value' => $result['limit_extensions']
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user