Quote:
//Check for redirects if (preg_match('|<frame src="(/translate_p\?[^"]+)|', $content, $matches)) {
$rval['result']='REDIRECT';
$match = $matches[1];
$match = preg_replace('|&|','&',$match);
$match = 'http://translate.google.com' . $match;
$rval['redirect']=$match;
$rval['message']='translate_p_Frame';
return $rval;
}
Must be:
Quote:
//Check for redirects if (preg_match('|<iframe src="(/translate_p\?[^"]+)|', $content, $matches)) {
$rval['result']='REDIRECT';
$match = $matches[1];
$match = preg_replace('|&|','&',$match);
$match = 'http://translate.google.com' . $match;
$rval['redirect']=$match;
$rval['message']='translate_p_Frame';
return $rval;
}
Whom this tweak helps, give me the bottle of beer to Ukraine, Kiev (after EURO 2012 no beer in Ukraine:) its just a joke:)))