Commit 1d6097a2 authored by Falko Timme's avatar Falko Timme
Browse files

- Fixed FS#3366 - Certain Custom php.ini settings seem to be stripped before...

- Fixed FS#3366 - Certain Custom php.ini settings seem to be stripped before being saved to .conf file.
parent 006b572c
......@@ -2671,8 +2671,8 @@ class apache2_plugin {
if(substr($ini_setting, 0, 1) == '#') continue;
if(substr($ini_setting, 0, 2) == '//') continue;
list($key, $value) = explode('=', $ini_setting, 2);
if($value){
$value = trim($value);
if($value != ''){
$key = trim($key);
switch (strtolower($value)) {
case '0':
......
......@@ -2370,8 +2370,8 @@ class nginx_plugin {
if(substr($ini_setting, 0, 1) == '#') continue;
if(substr($ini_setting, 0, 2) == '//') continue;
list($key, $value) = explode('=', $ini_setting, 2);
if($value){
$value = trim($value);
if($value != ''){
$key = trim($key);
switch (strtolower($value)) {
case '0':
......
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