Vergleich admin/modules/config/post_icons.php - 1.6.9 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 131Zeile 131
			{
$aicons[$icon['path']] = 1;
}

			{
$aicons[$icon['path']] = 1;
}

			
while($file = readdir($dir))


if(!$errors)

			{

			{

				if($file != ".." && $file != ".")
{
$ext = get_extension($file);
if($ext == "gif" || $ext == "jpg" || $ext == "jpeg" || $ext == "png" || $ext == "bmp")

				while($file = readdir($dir))
{
if($file != ".." && $file != ".")


					{

					{

						if(!$aicons[$path.$file])


						$ext = get_extension($file);
if($ext == "gif" || $ext == "jpg" || $ext == "jpeg" || $ext == "png" || $ext == "bmp")

						{

						{

							$icons[] = $file;




							if(!$aicons[$path.$file])
{
$icons[] = $file;
}

						}
}
}

						}
}
}

			}
closedir($dir);

if(count($icons) == 0)
{
$errors[] = $lang->error_no_images;

				closedir($dir);

if(count($icons) == 0)
{
$errors[] = $lang->error_no_images;
}

			}


			}


 
			// Check for errors again (from above statement)!

			if(!$errors)
{
// We have no errors so let's proceed!

			if(!$errors)
{
// We have no errors so let's proceed!