Commit 21ea9a14 authored by skummer's avatar skummer

ZP-133

- fixed: check if mapi extension is available before defining mapi properties

git-svn-id: https://z-push.org/svn/z-push/trunk@1349 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 15beca42
...@@ -48,6 +48,9 @@ ...@@ -48,6 +48,9 @@
* *
*/ */
if (!function_exists("mapi_prop_tag"))
throw new FatalMisconfigurationException("PHP-MAPI extension is not available");
define('PR_ACKNOWLEDGEMENT_MODE' ,mapi_prop_tag(PT_LONG, 0x0001)); define('PR_ACKNOWLEDGEMENT_MODE' ,mapi_prop_tag(PT_LONG, 0x0001));
define('PR_ALTERNATE_RECIPIENT_ALLOWED' ,mapi_prop_tag(PT_BOOLEAN, 0x0002)); define('PR_ALTERNATE_RECIPIENT_ALLOWED' ,mapi_prop_tag(PT_BOOLEAN, 0x0002));
define('PR_AUTHORIZING_USERS' ,mapi_prop_tag(PT_BINARY, 0x0003)); define('PR_AUTHORIZING_USERS' ,mapi_prop_tag(PT_BINARY, 0x0003));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment