git://git.jankratochvil.net
/
www.energie.vellum.cz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
+phys_2002 offer
[www.energie.vellum.cz.git]
/
common.php
diff --git
a/common.php
b/common.php
index
449c87b
..
327304b
100644
(file)
--- a/
common.php
+++ b/
common.php
@@
-266,6
+266,8
@@
function image_supported($mime)
{
global $HTTP_SERVER_VARS;
+ if (!isset($HTTP_SERVER_VARS["HTTP_ACCEPT"]))
+ return(false);
$exp=explode(",",$HTTP_SERVER_VARS["HTTP_ACCEPT"]);
while (($s=array_shift($exp))) {
$s=trim(ereg_replace(";.*","",$s));