NEW Show enabled modules in dol_print_error
This commit is contained in:
parent
9930b276ff
commit
f19d96bf8d
@ -3754,6 +3754,11 @@ function dol_print_error($db = '', $error = '', $errors = null)
|
|||||||
$syslog.="pid=".dol_getmypid();
|
$syslog.="pid=".dol_getmypid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! empty($conf->modules))
|
||||||
|
{
|
||||||
|
$out.="<b>".$langs->trans("Modules").":</b> ".join(', ', $conf->modules)."<br>\n";
|
||||||
|
}
|
||||||
|
|
||||||
if (is_object($db))
|
if (is_object($db))
|
||||||
{
|
{
|
||||||
if ($_SERVER['DOCUMENT_ROOT']) // Mode web
|
if ($_SERVER['DOCUMENT_ROOT']) // Mode web
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user