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 ""; }