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