Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kreso Pendic
ISPConfig 3
Commits
634d553b
Commit
634d553b
authored
Feb 13, 2021
by
Kresimir
Browse files
Added directive to add fpm pool directives directly without php_admin_value wrappers
parent
d0d54151
Pipeline
#7682
passed with stage
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/nginx_plugin.inc.php
View file @
634d553b
...
...
@@ -3033,6 +3033,13 @@ class nginx_plugin {
if
(
substr
(
$ini_setting
,
0
,
1
)
==
';'
)
continue
;
if
(
substr
(
$ini_setting
,
0
,
1
)
==
'#'
)
continue
;
if
(
substr
(
$ini_setting
,
0
,
2
)
==
'//'
)
continue
;
// if first 4 letters are 'POOL' - do not wrap key in `php_admin_value[$key]`
// just set as is (withoutPOOL prefix) - and include in settings
if
(
substr
(
$ini_setting
,
0
,
4
)
==
'POOL'
){
$ini_setting
=
str_replace
(
'POOL'
,
''
,
$ini_setting
)
;
$final_php_ini_settings
[]
=
array
(
'ini_setting'
=>
$ini_setting
);
continue
;
}
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
,
2
);
$value
=
trim
(
$value
);
if
(
$value
!=
''
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment