]> granicus.if.org Git - php/commitdiff
Fix naming
authorGordon Oheim <info@gordon-oheim.de>
Fri, 13 Nov 2015 14:01:10 +0000 (15:01 +0100)
committerGordon Oheim <info@gordon-oheim.de>
Fri, 13 Nov 2015 14:01:10 +0000 (15:01 +0100)
The global section is named "General", but the correct section name is "global". It is "global" in #1313 and also "global" in https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.conf.in. The commit fixes the naming. However, the proposed change might break any tooling that relies on finding "General" in the output though.

sapi/fpm/fpm/fpm_conf.c

index 9a619ce8871cbbc073bd99edcaffccb10d217341..2a92fb25a7258ff2b32cd6959191144668a66bb1 100644 (file)
@@ -1573,7 +1573,7 @@ static void fpm_conf_dump() /* {{{ */
        /*
         * Please keep the same order as in fpm_conf.h and in php-fpm.conf.in
         */
-       zlog(ZLOG_NOTICE, "[General]");
+       zlog(ZLOG_NOTICE, "[global]");
        zlog(ZLOG_NOTICE, "\tpid = %s",                         STR2STR(fpm_global_config.pid_file));
        zlog(ZLOG_NOTICE, "\terror_log = %s",                   STR2STR(fpm_global_config.error_log));
 #ifdef HAVE_SYSLOG_H