-+ if (!empty($section_text['ENV'])) {
-+ foreach (explode("\n", $section_text['ENV']) as $env) {
-+ ($env = trim($env)) and putenv(array_shift(explode('=', $env)).'=');
-+ }
-+ }
++ if (!empty($section_text['ENV'])) {
++ foreach (explode("\n", $section_text['ENV']) as $env) {
++ $env = explode('=', $env);
++ ($env = trim($env)) and putenv($env[0] .'=');
++ }
++ }