From 58716d452ef1c1e6df6ddda0f2c96212569f7251 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 9 Oct 2004 12:57:45 +0000 Subject: [PATCH] ... --- htdocs/clear_all_cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/clear_all_cache.php b/htdocs/clear_all_cache.php index 61060e0..9611d9f 100644 --- a/htdocs/clear_all_cache.php +++ b/htdocs/clear_all_cache.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: clear_all_cache.php,v 1.5 2004-10-09 12:49:37 x2000habouzit Exp $ + $Id: clear_all_cache.php,v 1.6 2004-10-09 12:57:45 x2000habouzit Exp $ ***************************************************************************/ require("auto.prepend.inc.php"); @@ -26,7 +26,7 @@ new_admin_page('index.tpl'); $page->clear_all_cache(); $page->clear_compiled_tpl(); -$ref = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '' +$ref = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; if($ref && strpos($ref,'clear_all_cache.php')===false) { header("Location: {$_SERVER['HTTP_REFERER']}"); } else { -- 2.1.4