We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44ea02 commit 3bfb906Copy full SHA for 3bfb906
utils/generate_conf.php
@@ -10,7 +10,11 @@
10
11
foreach ($_SERVER as $key => $value) {
12
if (strpos($key, 'PHP_INI_') === 0) {
13
- $iniParam = strtolower(substr($key, 8));
+ $iniParam = substr($key, 8);
14
+ if ($iniParam !== 'SMTP') {
15
+ // SMTP is the only php.ini parameter that contains uppercase letters (!)
16
+ $iniParam = strtolower($iniParam);
17
+ }
18
$iniParam = str_replace('__', '.', $iniParam);
19
// Let's protect the value if this is a string.
20
if (!is_numeric($value) && $iniParam !== 'error_reporting') {
0 commit comments