Skip to content
Snippets Groups Projects
Commit 67273857 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: error message

parent 52606680
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,11 @@ foreach($configfileparameters as $key => $value)
{
if ($i > 0) print ', ';
print $value2;
if (! is_readable($value2)) print ' '.img_warning($langs->trans("ErrorCantReadDirr"));
if (! is_readable($value2))
{
$langs->load("errors");
print ' '.img_warning($langs->trans("ErrorCantReadDir",$value2));
}
++$i;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment