Vergleich admin/modules/tools/file_verification.php - 1.8.5 - 1.8.22

  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];