// Remove unuseful lines
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13445 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
844dddccfd
commit
5f9b81c3a2
1 file changed
+1
-4
+1
-4
@@ -107,10 +107,7 @@ class ToolsCore
|
|||||||
header($header);
|
header($header);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_SERVER['HTTP_REFERER']) && $url == $_SERVER['HTTP_REFERER'])
|
header('Location: '.$url);
|
||||||
header('Location: '.$_SERVER['HTTP_REFERER']);
|
|
||||||
else
|
|
||||||
header('Location: '.$url);
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user