Vergleich admin/modules/tools/cache.php - 1.4.2 - 1.4.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: cache.php 3790 2008-04-23 22:50:33Z Tikitiki $

 * $Id: cache.php 4292 2008-12-13 01:58:07Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 64Zeile 64

if($mybb->input['action'] == "rebuild")
{


if($mybb->input['action'] == "rebuild")
{

 
	if(!verify_post_check($mybb->input['my_post_key']))
{
flash_message($lang->invalid_post_verify_key2, 'error');
admin_redirect("index.php?module=tools/cache");
}


	$plugins->run_hooks("admin_tools_cache_rebuild");

if(method_exists($cache, "update_{$mybb->input['title']}"))

	$plugins->run_hooks("admin_tools_cache_rebuild");

if(method_exists($cache, "update_{$mybb->input['title']}"))

Zeile 113Zeile 119
		
if(method_exists($cache, "update_".$cacheitem['title']))
{

		
if(method_exists($cache, "update_".$cacheitem['title']))
{

			$table->construct_cell("<a href=\"index.php?module=tools/cache&amp;action=rebuild&amp;title=".urlencode($cacheitem['title'])."\">".$lang->rebuild_cache."</a>", array("class" => "align_center"));

			$table->construct_cell("<a href=\"index.php?module=tools/cache&amp;action=rebuild&amp;title=".urlencode($cacheitem['title'])."&amp;my_post_key={$mybb->post_code}\">".$lang->rebuild_cache."</a>", array("class" => "align_center"));

		}
else
{

		}
else
{