Vergleich admin/modules/tools/system_health.php - 1.8.4 - 1.8.7

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


		++$errors;
}


	if(is_writable('.'.$mybb->settings['uploadspath']))






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

	{
$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;

	}

	}





	if(is_writable('../'.$mybb->settings['avataruploadpath']))






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

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

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