Fix: avoid warning
This commit is contained in:
parent
7707182c59
commit
a85a08cbd8
@ -149,7 +149,7 @@ foreach ($conf->file->dol_document_root as $type => $dirroot)
|
|||||||
|
|
||||||
foreach($modulesdir as $dir)
|
foreach($modulesdir as $dir)
|
||||||
{
|
{
|
||||||
$handle=opendir($dir);
|
$handle=@opendir($dir);
|
||||||
if (is_resource($handle))
|
if (is_resource($handle))
|
||||||
{
|
{
|
||||||
while (($file = readdir($handle))!==false)
|
while (($file = readdir($handle))!==false)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user