From 5f9b81c3a2478ff2070c8ccb0d3ad8d989117f43 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Fri, 17 Feb 2012 16:26:29 +0000 Subject: [PATCH] // Remove unuseful lines git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13445 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Tools.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index 7f3277122..baa084cd5 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -107,10 +107,7 @@ class ToolsCore header($header); } - if (isset($_SERVER['HTTP_REFERER']) && $url == $_SERVER['HTTP_REFERER']) - header('Location: '.$_SERVER['HTTP_REFERER']); - else - header('Location: '.$url); + header('Location: '.$url); exit; }