Fix: minor change on look

This commit is contained in:
Laurent Destailleur 2008-05-21 21:49:34 +00:00
parent cd2e45b48e
commit 7bd1dc1c4a

View File

@ -193,11 +193,11 @@ if ($mil->fetch($_REQUEST["id"]) >= 0)
$listdir[]=$dirmod; $listdir[]=$dirmod;
if (! empty($dirmod2)) $listdir[]=$dirmod2; if (! empty($dirmod2)) $listdir[]=$dirmod2;
$var=true;
foreach ($listdir as $dir) foreach ($listdir as $dir)
{ {
$handle=opendir($dir); $handle=opendir($dir);
$var=True;
while (($file = readdir($handle))!==false) while (($file = readdir($handle))!==false)
{ {
if (substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS') if (substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS')