Fix: Removed warnings
This commit is contained in:
parent
6c9815df12
commit
3633831737
@ -235,7 +235,7 @@ $var = true;
|
|||||||
foreach ($conf->file->dol_document_root as $dirroot)
|
foreach ($conf->file->dol_document_root as $dirroot)
|
||||||
{
|
{
|
||||||
$dir = $dirroot . "/core/modules/societe/";
|
$dir = $dirroot . "/core/modules/societe/";
|
||||||
$handle = opendir($dir);
|
$handle = @opendir($dir);
|
||||||
if (is_resource($handle))
|
if (is_resource($handle))
|
||||||
{
|
{
|
||||||
// Loop on each module find in opened directory
|
// Loop on each module find in opened directory
|
||||||
@ -312,7 +312,7 @@ $var = true;
|
|||||||
foreach ($conf->file->dol_document_root as $dirroot)
|
foreach ($conf->file->dol_document_root as $dirroot)
|
||||||
{
|
{
|
||||||
$dir = $dirroot . "/core/modules/societe/";
|
$dir = $dirroot . "/core/modules/societe/";
|
||||||
$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