Vergleich install/resources/upgrade30.php - 1.8.25 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1913Zeile 1913
						$ip2 = my_inet_pton($db->unescape_binary($data['lastip']));
if($ip1 === false && $ip2 === false)
{

						$ip2 = my_inet_pton($db->unescape_binary($data['lastip']));
if($ip1 === false && $ip2 === false)
{

							continue;

							continue 2;

						}
break;
case 5:
$ip = my_inet_pton($db->unescape_binary($data['ip']));
if($ip === false)
{

						}
break;
case 5:
$ip = my_inet_pton($db->unescape_binary($data['ip']));
if($ip === false)
{

							continue;

							continue 2;

						}
break;
case 6:

						}
break;
case 6:

Zeile 1931Zeile 1931
						$ip = my_inet_pton($db->unescape_binary($data['ipaddress']));
if($ip === false)
{

						$ip = my_inet_pton($db->unescape_binary($data['ipaddress']));
if($ip === false)
{

							continue;

							continue 2;

						}
break;
}

						}
break;
}

Zeile 2168Zeile 2168
	$stylesheets = my_unserialize($theme['stylesheets']);

$old = array("global.css", "usercp.css", "modcp.css", "star_ratings.css");

	$stylesheets = my_unserialize($theme['stylesheets']);

$old = array("global.css", "usercp.css", "modcp.css", "star_ratings.css");

	require_once MYBB_ROOT."inc/class_xml.php";

 
	$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme.xml');

	$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme.xml');

	$parser = new XMLParser($colors);

	$parser = create_xml_parser($colors);

	$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['theme']))

	$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['theme']))

Zeile 2318Zeile 2317
			$properties['logo'] = "images/logo.png";
}


			$properties['logo'] = "images/logo.png";
}


		require_once MYBB_ROOT."inc/class_xml.php";

 
		$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme_colors.xml');

		$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme_colors.xml');

		$parser = new XMLParser($colors);

		$parser = create_xml_parser($colors);

		$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['colors']))

		$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['colors']))