bug in redirect

This commit is contained in:
Dany De Bontridder 2015-08-30 04:50:13 +02:00
parent dfd16a855e
commit e6f980c783

View file

@ -211,7 +211,7 @@ function CleanUrl()
}
function redirect($p_string,$p_time=0)
{
if (strpos('?', $p_string) == 0 ) {
if (strpos( $p_string,'?') == 0 ) {
$p_string = $p_string.'?v='.microtime(true);
}
echo '<HTML><head><META HTTP-EQUIV="REFRESH" content="'.$p_time.';url='.$p_string.'"></head><body> Connecting... </body></html>';