From abae164f41103e70e18dedb442fad05ca2bc6213 Mon Sep 17 00:00:00 2001 From: David Woloszyn Date: Wed, 30 Apr 2025 14:41:10 +1000 Subject: [PATCH] MDL-84918 core: Add zend.exception_ignore_args environment check --- admin/environment.xml | 5 +++++ lang/en/admin.php | 1 + 2 files changed, 6 insertions(+) diff --git a/admin/environment.xml b/admin/environment.xml index 8f1e2049964..1e05329b721 100644 --- a/admin/environment.xml +++ b/admin/environment.xml @@ -5010,6 +5010,11 @@ + + + + + diff --git a/lang/en/admin.php b/lang/en/admin.php index 2fc92861b2d..3277ab414eb 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1276,6 +1276,7 @@ $string['settingmaxinputvars'] = 'PHP setting max_input_vars is recommended to b $string['settingmaxinputvarsrequired'] = 'PHP setting max_input_vars must be at least 5000.'; $string['settingmemorylimit'] = 'Insufficient memory detected, please set higher memory limit in PHP settings.'; $string['settingsafemode'] = 'Moodle is not fully compatible with safe mode, please ask server administrator to turn it off. Running Moodle under safe mode is not supported, please expect various problems if you do so.'; +$string['settingzendexceptionignoreargs'] = 'It is strongly recommended that the PHP setting zend.exception_ignore_args be enabled as a security precaution.'; $string['setupsearchengine'] = 'Setup search engine'; $string['showcommentscount'] = 'Show comments count'; $string['showdetails'] = 'Show details';