Vergleich admin/modules/tools/file_verification.php - 1.8.2 - 1.8.24

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 36Zeile 36

$page->output_header($lang->file_verification." - ".$lang->checking);



$page->output_header($lang->file_verification." - ".$lang->checking);


		$file = explode("\n", fetch_remote_file("http://www.mybb.com/checksums/release_mybb_{$mybb->version_code}.txt"));

		$file = explode("\n", @file_get_contents("https://mybb.com/checksums/release_mybb_{$mybb->version_code}.txt"));


if(strstr($file[0], "<?xml") !== false || empty($file[0]))
{


if(strstr($file[0], "<?xml") !== false || empty($file[0]))
{

Zeile 69Zeile 69
				{
$parts[1] = "./index.php";
}

				{
$parts[1] = "./index.php";
}

 
			}

if(!file_exists(MYBB_ROOT."inc/plugins/hello.php") && $parts[1] == "./inc/plugins/hello.php")
{
continue;
}

if(!is_dir(MYBB_ROOT."install/") && substr($parts[1], 0, 10) == "./install/")
{
continue;

			}

$checksums[trim($parts[1])][] = $parts[0];

			}

$checksums[trim($parts[1])][] = $parts[0];

Zeile 96Zeile 106
					break;
}


					break;
}


			$table->construct_cell("<strong><span style=\"color: {$color};\">".substr($file['path'], 2)."</span></strong>");

			$table->construct_cell("<strong><span style=\"color: {$color};\">".htmlspecialchars_uni(substr($file['path'], 2))."</span></strong>");


$table->construct_cell("<strong><span style=\"color: {$color};\">{$file['status']}</span></strong>", array("class" => "align_center"));
$table->construct_row();


$table->construct_cell("<strong><span style=\"color: {$color};\">{$file['status']}</span></strong>", array("class" => "align_center"));
$table->construct_row();