Set default disabled functions

tags/0.0.1_0.fc26_el5
Daniel Berteaud 8 years ago
parent 77ffc47f4c
commit 2ae809f147
  1. 2
      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 "";
}

Loading…
Cancel
Save