]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
is_page_streaming verify enhanced
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.com>
Mon, 28 Nov 2011 22:18:02 +0000 (23:18 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.com>
Mon, 28 Nov 2011 22:18:02 +0000 (23:18 +0100)
web/briskin5/index_rd.php
web/index_rd.php

index 01e7ab3ef46be61f445e5947131fa9726108b859..cdb448eef487b4a5418b2b2522268e9114a39c7d 100644 (file)
@@ -394,7 +394,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
    step
 */
 
-$is_page_streaming =  (webservers_exceeded() || stristr($HTTP_USER_AGENT, "MSIE") || stristr($HTTP_USER_AGENT, "CHROME") ? TRUE : FALSE);
+$is_page_streaming =  (webservers_exceeded() || stristr($HTTP_USER_AGENT, "Mozilla/5.0 (Windows NT 6.1; rv:5.0)") || stristr($HTTP_USER_AGENT, "MSIE") || stristr($HTTP_USER_AGENT, "CHROME") ? TRUE : FALSE);
 
 header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
index 21482341e7e234e1c40f734e215930a32e5d4d2e..4f06af3c758db20b9d83ab2008e66404b4914323 100644 (file)
@@ -445,7 +445,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
    step
 */
 
-$is_page_streaming = (webservers_exceeded() || stristr($HTTP_USER_AGENT, "MSIE") || stristr($HTTP_USER_AGENT, "CHROME") ? TRUE : FALSE);
+$is_page_streaming = (webservers_exceeded() || stristr($HTTP_USER_AGENT, "Mozilla/5.0 (Windows NT 6.1; rv:5.0)") || stristr($HTTP_USER_AGENT, "MSIE") || stristr($HTTP_USER_AGENT, "CHROME") ? TRUE : FALSE);
 
 header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past