SA-CORE-2023-004 by DamienMcKenna, elarlang, larowlan, effulgentsia, pandaski, mcdruid, jenlampton, quicksketch, greggles

merge-requests/2943/head
mcdruid 2023-03-15 15:49:31 +00:00
parent e783c7f3a0
commit b82f268439
1 changed files with 1 additions and 1 deletions

View File

@ -2385,7 +2385,7 @@ function system_run_cron() {
* Menu callback: return information about PHP.
*/
function system_php() {
phpinfo();
phpinfo(~ (INFO_VARIABLES | INFO_ENVIRONMENT));
drupal_exit();
}