From f19d96bf8de7d89676a605232f8285f6b0046ea1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Apr 2019 10:24:05 +0200 Subject: [PATCH] NEW Show enabled modules in dol_print_error --- htdocs/core/lib/functions.lib.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 2e938121c8a..16532cfd76f 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3754,6 +3754,11 @@ function dol_print_error($db = '', $error = '', $errors = null) $syslog.="pid=".dol_getmypid(); } + if (! empty($conf->modules)) + { + $out.="".$langs->trans("Modules").": ".join(', ', $conf->modules)."
\n"; + } + if (is_object($db)) { if ($_SERVER['DOCUMENT_ROOT']) // Mode web