- Fixed FS#3366 - Certain Custom php.ini settings seem to be stripped before being saved to .conf file.
| | |
| | | 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); |
| | | $value = trim($value); |
| | | if($value != ''){ |
| | | $key = trim($key); |
| | | switch (strtolower($value)) { |
| | | case '0': |
| | |
| | | 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); |
| | | $value = trim($value); |
| | | if($value != ''){ |
| | | $key = trim($key); |
| | | switch (strtolower($value)) { |
| | | case '0': |