projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- add first version of package2.xml
[m6w6/ext-http]
/
http_response_object.c
diff --git
a/http_response_object.c
b/http_response_object.c
index c0c66af090543aee016a5822866e0a04adee15c4..23071983c12b3c8e6f36413d33a004030196dc2e 100644
(file)
--- a/
http_response_object.c
+++ b/
http_response_object.c
@@
-545,6
+545,8
@@
PHP_METHOD(HttpResponse, guessContentType)
}
}
SET_EH_NORMAL();
+#else
+ http_error(HE_THROW, HTTP_E_RUNTIME, "Cannot guess Content-Type; libmagic not available");
#endif
}
/* }}} */