Vergleich admin/modules/tools/system_health.php - 1.8.8 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 757Zeile 757
	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 850
		++$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>";
}

Zeile 922Zeile 914

if($errors)
{


if($errors)
{

		$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\">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
{