Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 416 Bytes
<?
$brand_URLs = array(
"brand1.zendesk.com" => "https://page1.example.com/zdlogout.php",
"support1.example.com" => "https://page1.example.com/zdlogout.php",
"brand2.zendesk.com" => "https://page2.example.com/zdlogout.php",
"support2.example.com" => "https://page2.example.com/zdlogout.php"
);
foreach($brand_URLs as $k => $v){
if(strpos($_GET['return_to'],$k)){
header("Location: ". $v);
die();
}
}
?>
You can’t perform that action at this time.