Falko Timme
2014-03-08 1d6097a27295d987f45a04a58feba35b043c1dbe
- Fixed FS#3366 - Certain Custom php.ini settings seem to be stripped before being saved to .conf file.
2 files modified
8 ■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/nginx_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -2671,8 +2671,8 @@
                    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':
server/plugins-available/nginx_plugin.inc.php
@@ -2370,8 +2370,8 @@
                    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':