Vergleich admin/modules/tools/cache.php - 1.8.3 - 1.8.19

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 39Zeile 39

$cacheitem = array(
'title' => 'settings',


$cacheitem = array(
'title' => 'settings',

			'cache'	=> serialize($cachedsettings)

			'cache'	=> my_serialize($cachedsettings)

		);
}
else

		);
}
else

Zeile 54Zeile 54
		admin_redirect("index.php?module=tools-cache");
}


		admin_redirect("index.php?module=tools-cache");
}


	$cachecontents = my_unserialize($cacheitem['cache']);

	$cachecontents = unserialize($cacheitem['cache']);

	if(empty($cachecontents))
{
$cachecontents = $lang->error_empty_cache;

	if(empty($cachecontents))
{
$cachecontents = $lang->error_empty_cache;

Zeile 264Zeile 264
	}

$table->construct_cell("<strong><a href=\"index.php?module=tools-cache&amp;action=view&amp;title=settings\">settings</a></strong>");

	}

$table->construct_cell("<strong><a href=\"index.php?module=tools-cache&amp;action=view&amp;title=settings\">settings</a></strong>");

	$table->construct_cell(get_friendly_size(strlen(serialize($cachedsettings))), array("class" => "align_center"));

	$table->construct_cell(get_friendly_size(strlen(my_serialize($cachedsettings))), array("class" => "align_center"));

	$table->construct_cell("<a href=\"index.php?module=tools-cache&amp;action=reload&amp;title=settings&amp;my_post_key={$mybb->post_code}\">".$lang->reload_cache."</a>", array("class" => "align_center"));

$table->construct_row();

	$table->construct_cell("<a href=\"index.php?module=tools-cache&amp;action=reload&amp;title=settings&amp;my_post_key={$mybb->post_code}\">".$lang->reload_cache."</a>", array("class" => "align_center"));

$table->construct_row();