Commit 634d553b authored by Kresimir's avatar Kresimir
Browse files

Added directive to add fpm pool directives directly without php_admin_value wrappers

parent d0d54151
Pipeline #7682 passed with stage
......@@ -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 != ''){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment