Zeile 6 | Zeile 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 64 | Zeile 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 113 | Zeile 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&action=rebuild&title=".urlencode($cacheitem['title'])."\">".$lang->rebuild_cache."</a>", array("class" => "align_center"));
| $table->construct_cell("<a href=\"index.php?module=tools/cache&action=rebuild&title=".urlencode($cacheitem['title'])."&my_post_key={$mybb->post_code}\">".$lang->rebuild_cache."</a>", array("class" => "align_center"));
|
} else {
| } else {
|