1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 12:42:29 +02:00

use limit_extensions as we use security_limit_extensions later (free)

This commit is contained in:
Remi Collet
2013-05-02 10:15:12 +02:00
parent a7d6cb2360
commit 8492bbefbb

View File

@@ -1024,8 +1024,8 @@ static int fpm_conf_process_all_pools() /* {{{ */
nb_ext = 0;
/* parse the string and save the extension in the array */
while ((ext = strtok(security_limit_extensions, " \t"))) {
security_limit_extensions = NULL;
while ((ext = strtok(limit_extensions, " \t"))) {
limit_extensions = NULL;
wp->limit_extensions[nb_ext++] = strdup(ext);
}