summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 848bcc6)
raw | patch | inline | side by side (parent: 848bcc6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 May 2008 05:11:36 +0000 (05:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 May 2008 05:11:36 +0000 (05:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10970 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index 85a2eb328e669e85f8a63f9179ad6249c62a4f90..18bac90a470d8c41a84dcec4c83fbffc25b70dee 100644 (file)
header("Cache-Control: post-check=0, pre-check=0");
header("Content-type: ".$type."");
+ $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
+
/* force download dialog */
if (preg_match('/MSIE 5.5/', $HTTP_USER_AGENT) || preg_match('/MSIE 6.0/', $HTTP_USER_AGENT)) {
header('Content-Disposition: filename="'.$name.'"');