Vergleich admin/modules/tools/system_health.php - 1.8.14 - 1.8.34

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 238Zeile 238
		$table->construct_cell($lang->please_wait);
$table->construct_row();


		$table->construct_cell($lang->please_wait);
$table->construct_row();


		$table->output($converting_table." {$mybb->input['table']}");

		$table->output($lang->sprintf($lang->converting_table, $mybb->input['table']));


$db->set_table_prefix($old_table_prefix);



$db->set_table_prefix($old_table_prefix);


Zeile 280Zeile 280
		$db->write_query("ALTER TABLE {$mybb->input['table']} DEFAULT CHARACTER SET {$character_set} COLLATE {$collation}");

// Fetch any fulltext keys

		$db->write_query("ALTER TABLE {$mybb->input['table']} DEFAULT CHARACTER SET {$character_set} COLLATE {$collation}");

// Fetch any fulltext keys

 
		$fulltext_to_create = array();

		if($db->supports_fulltext($mybb->input['table']))
{
$table_structure = $db->show_create_table($mybb->input['table']);

		if($db->supports_fulltext($mybb->input['table']))
{
$table_structure = $db->show_create_table($mybb->input['table']);

Zeile 357Zeile 358
		}

// Any fulltext indexes to recreate?

		}

// Any fulltext indexes to recreate?

		if(is_array($fulltext_to_create))

		foreach($fulltext_to_create as $name => $fields)

		{

		{

			foreach($fulltext_to_create as $name => $fields)
{
$db->create_fulltext_index($mybb->input['table'], $fields, $name);
}

			$db->create_fulltext_index($mybb->input['table'], $fields, $name);




		}

$db->set_table_prefix($old_table_prefix);

		}

$db->set_table_prefix($old_table_prefix);

Zeile 438Zeile 436
		exit;
}


		exit;
}


	if($mybb->input['table'] || $mybb->input['do'] == "all")

	if(!empty($mybb->input['table']) || $mybb->input['do'] == "all")

	{
if(!empty($mybb->input['mb4']) && version_compare($db->get_version(), '5.5.3', '<'))
{

	{
if(!empty($mybb->input['mb4']) && version_compare($db->get_version(), '5.5.3', '<'))
{

Zeile 549Zeile 547
			if($mybb->input['do'] == "all")
{
$table->construct_cell("<strong>".$lang->sprintf($lang->convert_all_to_utf, $charset)."</strong>");

			if($mybb->input['do'] == "all")
{
$table->construct_cell("<strong>".$lang->sprintf($lang->convert_all_to_utf, $charset)."</strong>");

			}

			}

			else
{
$table->construct_cell("<strong>".$lang->sprintf($lang->convert_to_utf8, $mybb->input['table'], $charset)."</strong>");

			else
{
$table->construct_cell("<strong>".$lang->sprintf($lang->convert_to_utf8, $mybb->input['table'], $charset)."</strong>");

Zeile 850Zeile 848
		++$errors;
}


		++$errors;
}


	$uploadspath = $mybb->settings['uploadspath'];
if(my_substr($uploadspath, 0, 1) == '.')
{
$uploadspath = MYBB_ROOT . $mybb->settings['uploadspath'];
}
if(is_writable($uploadspath))

	$uploadspath_abs = mk_path_abs($mybb->settings['uploadspath']);
if(is_writable($uploadspath_abs))





	{
$message_upload = "<span style=\"color: green;\">{$lang->writable}</span>";

	{
$message_upload = "<span style=\"color: green;\">{$lang->writable}</span>";

	}

	}

	else

	else

	{

	{

		$message_upload = "<strong><span style=\"color: #C00\">{$lang->not_writable}</span></strong><br />{$lang->please_chmod_777}";
++$errors;

		$message_upload = "<strong><span style=\"color: #C00\">{$lang->not_writable}</span></strong><br />{$lang->please_chmod_777}";
++$errors;

	}

	}





	$avataruploadpath = $mybb->settings['avataruploadpath'];
if(my_substr($avataruploadpath, 0, 1) == '.')
{
$avataruploadpath = MYBB_ROOT . $mybb->settings['avataruploadpath'];
}
if(is_writable($avataruploadpath))

	$avataruploadpath_abs = mk_path_abs($mybb->settings['avataruploadpath']);
if(is_writable($avataruploadpath_abs))





	{
$message_avatar = "<span style=\"color: green;\">{$lang->writable}</span>";
}

	{
$message_avatar = "<span style=\"color: green;\">{$lang->writable}</span>";
}