From 97fc55666ade5d8f7a2a87504019448575f94de0 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 16 Dec 2006 17:34:06 +1300 Subject: [PATCH] Now refreshing correctly. --- inc/header.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/inc/header.php b/inc/header.php index b390635..70d93bc 100644 --- a/inc/header.php +++ b/inc/header.php @@ -35,16 +35,16 @@ # $track = eregi_replace( " ", "\\ ", $track); fputs( $fifo, "$action $track\n" ); fclose($fifo); - $meta_refresh = "Refresh: $refresh_time; URL=$refresh_url" ; - header($meta_refresh); + $meta_refresh = "$refresh_time; URL=$refresh_url" ; + header("Refresh: ".$meta_refresh); } else if ( !isset($a) && !isset($t) ) { - $meta_refresh = "Refresh: $refresh_time"."s"; - header($meta_refresh); + $meta_refresh = $refresh_time; + header("Refresh: ".$meta_refresh); } else { - $meta_refresh = "Refresh: $refresh_time; URL=$refresh_url" ; - header($meta_refresh); + $meta_refresh = "$refresh_time; URL=$refresh_url" ; + header("Refresh: ".$meta_refresh); } error_log("Refresh header was : $meta_refresh"); @@ -55,6 +55,7 @@ $page_title + -- 2.11.4.GIT