Vergleich admin/modules/tools/system_health.php - 1.8.5 - 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 345Zeile 346
				$convert_to_binary .= $comma.$names.preg_replace('/'.$type.'/i', $types[$type], $column['Type']).' '.$attributes;
$convert_to_utf8 .= "{$comma}{$names}{$column['Type']} CHARACTER SET {$character_set} COLLATE {$collation} {$attributes}";


				$convert_to_binary .= $comma.$names.preg_replace('/'.$type.'/i', $types[$type], $column['Type']).' '.$attributes;
$convert_to_utf8 .= "{$comma}{$names}{$column['Type']} CHARACTER SET {$character_set} COLLATE {$collation} {$attributes}";


				$comma = $lang->comma;

				$comma = ',';

			}
}


			}
}


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 757Zeile 755
	while($task = $db->fetch_array($query))
{
$task['title'] = htmlspecialchars_uni($task['title']);

	while($task = $db->fetch_array($query))
{
$task['title'] = htmlspecialchars_uni($task['title']);

		$next_run = date($mybb->settings['dateformat'], $task['nextrun']).", ".date($mybb->settings['timeformat'], $task['nextrun']);

		$next_run = my_date('normal', $task['nextrun'], "", 2);

		$table->construct_cell("<strong>{$task['title']}</strong>");
$table->construct_cell($next_run, array("class" => "align_center"));


		$table->construct_cell("<strong>{$task['title']}</strong>");
$table->construct_cell($next_run, array("class" => "align_center"));


Zeile 850Zeile 848
		++$errors;
}


		++$errors;
}


	if(is_writable('.'.$mybb->settings['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>";
}

Zeile 860Zeile 859
		++$errors;
}


		++$errors;
}


	if(is_writable('../'.$mybb->settings['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>";
}

Zeile 912Zeile 912

if($errors)
{


if($errors)
{

		$page->output_error("<p><em>{$errors} {$lang->error_chmod}</span></strong> {$lang->chmod_info} <a href=\"http://docs.mybb.com/HowTo_Chmod.html\" target=\"_blank\">MyBB Docs</a>.</em></p>");

		$page->output_error("<p><em>{$errors} {$lang->error_chmod}</span></strong> {$lang->chmod_info} <a href=\"https://docs.mybb.com/1.8/administration/security/file-permissions\" target=\"_blank\" rel=\"noopener\">MyBB Docs</a>.</em></p>");

	}
else
{

	}
else
{