From 2ae809f147d493eee8a13b00c7d9015c1a57d046 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 5 Jul 2017 10:26:10 +0200 Subject: [PATCH] Set default disabled functions --- root/etc/e-smith/templates/etc/php-fpm.d/www.conf/00Default00Header | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/00Default00Header b/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/00Default00Header index 9e1644a..4fc5131 100644 --- a/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/00Default00Header +++ b/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/00Default00Header @@ -10,7 +10,7 @@ if ($php){ $PostMaxSize = $php->prop('PostMaxSize') || '10M'; $UploadMaxFilesize = $php->prop('UploadMaxFilesize') || '10M'; $OpenBasedir = $php->prop('OpenBasedir') || undef; - $DisableFunctions = $php->prop('DisableFunctions') || undef; + $DisableFunctions = $php->prop('DisableFunctions') || 'system,show_source,symlink,exec,dl,shell_exec,passthru,phpinfo,escapeshellarg,escapeshellcmd'; } return ""; }