Minor look fix, fix into ecm module when dir does not exists

This commit is contained in:
Laurent Destailleur
2012-03-26 18:23:08 +02:00
parent 7da4d7f072
commit f52a07eee5
6 changed files with 30 additions and 19 deletions

View File

@@ -141,9 +141,10 @@ $type='directory';
// This test if file exists should be useless. We keep it to find bug more easily
if (! dol_is_dir($upload_dir))
{
$langs->load("install");
// dol_mkdir($upload_dir);
/* $langs->load("install");
dol_print_error(0,$langs->trans("ErrorDirDoesNotExists",$upload_dir));
exit;
exit;*/
}
print '<!-- TYPE='.$type.' -->'."\n";