From ee1007ab718cd588dd71074b4fda657d9ca8070b Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Sat, 31 Mar 2012 22:58:38 -0400
Subject: [PATCH] Add ticket refresh meta to header

---
 include/staff/header.inc.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/staff/header.inc.php b/include/staff/header.inc.php
index 0fabe6585..58d4f28dc 100644
--- a/include/staff/header.inc.php
+++ b/include/staff/header.inc.php
@@ -1,7 +1,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <head>
-    <meta charset="utf-8">
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <?php
+    if(defined('AUTO_REFRESH') && is_numeric(AUTO_REFRESH_RATE) && AUTO_REFRESH_RATE>0){ //Refresh rate
+    echo '<meta http-equiv="refresh" content="'.AUTO_REFRESH_RATE.'" />';
+    }
+    ?>
     <title>osTicket Staff Control Panel</title>
     <!--[if IE]>
     <style type="text/css">
-- 
GitLab