@@ -247,14 +247,14 @@ discard block |
||
247 | 247 | $properties["reminderset"] = "PT_BOOLEAN:PSETID_Common:0x8503"; |
248 | 248 | $properties["flag_request"] = "PT_STRING8:PSETID_Common:0x8530"; |
249 | 249 | $properties["flag_due_by"] = "PT_SYSTIME:PSETID_Common:0x8560"; |
250 | - $properties["updatecounter"] = "PT_LONG:PSETID_Appointment:0x8201"; // AppointmentSequenceNumber |
|
251 | - $properties["last_updatecounter"] = "PT_LONG:PSETID_Appointment:0x8203"; // AppointmentLastSequence |
|
250 | + $properties["updatecounter"] = "PT_LONG:PSETID_Appointment:0x8201"; // AppointmentSequenceNumber |
|
251 | + $properties["last_updatecounter"] = "PT_LONG:PSETID_Appointment:0x8203"; // AppointmentLastSequence |
|
252 | 252 | $properties["busystatus"] = "PT_LONG:PSETID_Appointment:0x8205"; |
253 | 253 | $properties["intendedbusystatus"] = "PT_LONG:PSETID_Appointment:0x8224"; |
254 | 254 | $properties["start"] = "PT_SYSTIME:PSETID_Appointment:0x820d"; |
255 | 255 | $properties["responselocation"] = "PT_STRING8:PSETID_Meeting:0x2"; |
256 | 256 | $properties["location"] = "PT_STRING8:PSETID_Appointment:0x8208"; |
257 | - $properties["requestsent"] = "PT_BOOLEAN:PSETID_Appointment:0x8229"; // PidLidFInvited, MeetingRequestWasSent |
|
257 | + $properties["requestsent"] = "PT_BOOLEAN:PSETID_Appointment:0x8229"; // PidLidFInvited, MeetingRequestWasSent |
|
258 | 258 | $properties["startdate"] = "PT_SYSTIME:PSETID_Appointment:0x820d"; |
259 | 259 | $properties["duedate"] = "PT_SYSTIME:PSETID_Appointment:0x820e"; |
260 | 260 | $properties["commonstart"] = "PT_SYSTIME:PSETID_Common:0x8516"; |
@@ -262,11 +262,11 @@ discard block |
||
262 | 262 | $properties["recurring"] = "PT_BOOLEAN:PSETID_Appointment:0x8223"; |
263 | 263 | $properties["clipstart"] = "PT_SYSTIME:PSETID_Appointment:0x8235"; |
264 | 264 | $properties["clipend"] = "PT_SYSTIME:PSETID_Appointment:0x8236"; |
265 | - $properties["start_recur_date"] = "PT_LONG:PSETID_Meeting:0xD"; // StartRecurTime |
|
266 | - $properties["start_recur_time"] = "PT_LONG:PSETID_Meeting:0xE"; // StartRecurTime |
|
267 | - $properties["end_recur_date"] = "PT_LONG:PSETID_Meeting:0xF"; // EndRecurDate |
|
268 | - $properties["end_recur_time"] = "PT_LONG:PSETID_Meeting:0x10"; // EndRecurTime |
|
269 | - $properties["is_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
265 | + $properties["start_recur_date"] = "PT_LONG:PSETID_Meeting:0xD"; // StartRecurTime |
|
266 | + $properties["start_recur_time"] = "PT_LONG:PSETID_Meeting:0xE"; // StartRecurTime |
|
267 | + $properties["end_recur_date"] = "PT_LONG:PSETID_Meeting:0xF"; // EndRecurDate |
|
268 | + $properties["end_recur_time"] = "PT_LONG:PSETID_Meeting:0x10"; // EndRecurTime |
|
269 | + $properties["is_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
270 | 270 | // Propose new time properties |
271 | 271 | $properties["proposed_start_whole"] = "PT_SYSTIME:PSETID_Appointment:0x8250"; |
272 | 272 | $properties["proposed_end_whole"] = "PT_SYSTIME:PSETID_Appointment:0x8251"; |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | $properties = []; |
640 | 640 | $properties["entryid"] = PR_ENTRYID; |
641 | 641 | $properties["parent_entryid"] = PR_PARENT_ENTRYID; |
642 | - $properties["store_entryid"] = PR_STORE_ENTRYID; // is this required ??? |
|
642 | + $properties["store_entryid"] = PR_STORE_ENTRYID; // is this required ??? |
|
643 | 643 | $properties["icon_index"] = PR_ICON_INDEX; |
644 | 644 | $properties["message_class"] = PR_MESSAGE_CLASS; |
645 | 645 | $properties["message_flags"] = PR_MESSAGE_FLAGS; |
@@ -955,9 +955,9 @@ discard block |
||
955 | 955 | $properties["appointment_location"] = "PT_STRING8:PSETID_Appointment:0x8208"; |
956 | 956 | $properties["appointment_recurring_pattern"] = "PT_STRING8:PSETID_Appointment:0x8232"; |
957 | 957 | $properties["appointment_recurring"] = "PT_BOOLEAN:PSETID_Appointment:0x8223"; |
958 | - $properties["appointment_startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8235"; // ClipStart |
|
959 | - $properties["appointment_enddate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8236"; // ClipEnd |
|
960 | - $properties["appointment_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
958 | + $properties["appointment_startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8235"; // ClipStart |
|
959 | + $properties["appointment_enddate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8236"; // ClipEnd |
|
960 | + $properties["appointment_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
961 | 961 | $properties["appointment_location"] = "PT_STRING8:PSETID_Appointment:0x8208"; |
962 | 962 | // Propose new time properties |
963 | 963 | $properties["proposed_start_date"] = "PT_SYSTIME:PSETID_Appointment:0x8250"; |
@@ -1243,18 +1243,18 @@ discard block |
||
1243 | 1243 | $properties["subject"] = PR_SUBJECT; |
1244 | 1244 | $properties["object_type"] = PR_OBJECT_TYPE; |
1245 | 1245 | |
1246 | - $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:0x8503"; // PidLidReminderSet |
|
1247 | - $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:0x8501"; // PidLidReminderDelta |
|
1248 | - $properties["reminder_time"] = "PT_SYSTIME:PSETID_Common:0x8502"; // PidLidReminderTime |
|
1249 | - $properties["flagdueby"] = "PT_SYSTIME:PSETID_Common:0x8560"; // PidLidReminderSignalTime |
|
1246 | + $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:0x8503"; // PidLidReminderSet |
|
1247 | + $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:0x8501"; // PidLidReminderDelta |
|
1248 | + $properties["reminder_time"] = "PT_SYSTIME:PSETID_Common:0x8502"; // PidLidReminderTime |
|
1249 | + $properties["flagdueby"] = "PT_SYSTIME:PSETID_Common:0x8560"; // PidLidReminderSignalTime |
|
1250 | 1250 | |
1251 | - $properties["task_duedate"] = "PT_SYSTIME:PSETID_Task:0x8105"; // PidLidTaskDueDate |
|
1252 | - $properties["task_startdate"] = "PT_SYSTIME:PSETID_Task:0x8104"; // PidLidTaskStartDate |
|
1253 | - $properties["task_resetreminder"] = "PT_BOOLEAN:PSETID_Task:0x8107"; // PidLidTaskResetReminder |
|
1254 | - $properties["task_recurring"] = "PT_BOOLEAN:PSETID_Task:0x8126"; // PidLidTaskFRecurring |
|
1251 | + $properties["task_duedate"] = "PT_SYSTIME:PSETID_Task:0x8105"; // PidLidTaskDueDate |
|
1252 | + $properties["task_startdate"] = "PT_SYSTIME:PSETID_Task:0x8104"; // PidLidTaskStartDate |
|
1253 | + $properties["task_resetreminder"] = "PT_BOOLEAN:PSETID_Task:0x8107"; // PidLidTaskResetReminder |
|
1254 | + $properties["task_recurring"] = "PT_BOOLEAN:PSETID_Task:0x8126"; // PidLidTaskFRecurring |
|
1255 | 1255 | $properties["taskmode"] = "PT_LONG:PSETID_Common:0x8518"; |
1256 | 1256 | |
1257 | - $properties["appointment_recurring"] = "PT_BOOLEAN:PSETID_Appointment:0x8223"; // PidLidRecurring |
|
1257 | + $properties["appointment_recurring"] = "PT_BOOLEAN:PSETID_Appointment:0x8223"; // PidLidRecurring |
|
1258 | 1258 | $properties["appointment_startdate"] = "PT_SYSTIME:PSETID_Appointment:0x820d"; |
1259 | 1259 | $properties["appointment_enddate"] = "PT_SYSTIME:PSETID_Appointment:0x820e"; |
1260 | 1260 | $properties["appointment_startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8235"; |
@@ -1074,7 +1074,7 @@ discard block |
||
1074 | 1074 | // Postfix display name of every contact folder with respective owner name |
1075 | 1075 | // it is mandatory to keep display-name different |
1076 | 1076 | $userStoreProps = mapi_getprops($openedUserStore, [PR_MAILBOX_OWNER_NAME]); |
1077 | - for ($i = 0,$len = count($userContactFolders); $i < $len; ++$i) { |
|
1077 | + for ($i = 0, $len = count($userContactFolders); $i < $len; ++$i) { |
|
1078 | 1078 | $userContactFolders[$i][PR_DISPLAY_NAME] = $userContactFolders[$i][PR_DISPLAY_NAME] . " - " . $userStoreProps[PR_MAILBOX_OWNER_NAME]; |
1079 | 1079 | } |
1080 | 1080 | |
@@ -1098,7 +1098,7 @@ discard block |
||
1098 | 1098 | |
1099 | 1099 | // Create the lists of store entryids, folder entryids and folder names to be added |
1100 | 1100 | // to the profile section |
1101 | - for ($i = 0,$len = count($contactFolders); $i < $len; ++$i) { |
|
1101 | + for ($i = 0, $len = count($contactFolders); $i < $len; ++$i) { |
|
1102 | 1102 | $contact_store_entryids[] = $contactFolders[$i][PR_STORE_ENTRYID]; |
1103 | 1103 | $contact_folder_entryids[] = $contactFolders[$i][PR_ENTRYID]; |
1104 | 1104 | $contact_folder_names[] = $contactFolders[$i][PR_DISPLAY_NAME]; |
@@ -26,17 +26,17 @@ |
||
26 | 26 | |
27 | 27 | // used by distribution lists |
28 | 28 | define("DL_GUID", pack("H*", "C091ADD3519DCF11A4A900AA0047FAA4")); |
29 | - define("DL_USER", 0xC3); // 195 |
|
30 | - define("DL_USER2", 0xD3); // 211 |
|
31 | - define("DL_USER3", 0xE3); // 227 |
|
29 | + define("DL_USER", 0xC3); // 195 |
|
30 | + define("DL_USER2", 0xD3); // 211 |
|
31 | + define("DL_USER3", 0xE3); // 227 |
|
32 | 32 | /* |
33 | 33 | * According to Exchange protocol, type property for oneoff contact |
34 | 34 | * will be 0x00. |
35 | 35 | */ |
36 | - define("DL_EXTERNAL_MEMBER", 0x00); // 0 |
|
37 | - define("DL_DIST", 0xB4); // 180 |
|
38 | - define("DL_USER_AB", 0xB5); // 181 |
|
39 | - define("DL_DIST_AB", 0xB6); // 182 |
|
36 | + define("DL_EXTERNAL_MEMBER", 0x00); // 0 |
|
37 | + define("DL_DIST", 0xB4); // 180 |
|
38 | + define("DL_USER_AB", 0xB5); // 181 |
|
39 | + define("DL_DIST_AB", 0xB6); // 182 |
|
40 | 40 | |
41 | 41 | // @FIXME these needs to be changed in mapitags.php |
42 | 42 |
@@ -23,8 +23,7 @@ |
||
23 | 23 | |
24 | 24 | # Replicate value logic from php-src/ext/zlib/zlib.c |
25 | 25 | $sv = ini_get("zlib.output_compression"); |
26 | - $sv = strcasecmp($sv, "on") == 0 ? 1 : |
|
27 | - (strcasecmp($sv, "off") == 0 ? 0 : intval($sv)); |
|
26 | + $sv = strcasecmp($sv, "on") == 0 ? 1 : (strcasecmp($sv, "off") == 0 ? 0 : intval($sv)); |
|
28 | 27 | if ($sv != 0) { |
29 | 28 | $this->error_config("zlib.output_compression", "off", "With this option enabled, it could occur that XMLHTTP requests will fail"); |
30 | 29 | } |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | if ($data_orig_strs[$i]['length'] > 0) { // fread does not accept length=0 |
390 | 390 | $length = $data_orig_strs[$i]['length']; |
391 | 391 | $orig_str = unpack('a' . $length . 'str', fread($fp, $length)); |
392 | - $translation_data[$i]['msgid'] = $orig_str['str']; // unpack converts to array :S |
|
392 | + $translation_data[$i]['msgid'] = $orig_str['str']; // unpack converts to array :S |
|
393 | 393 | |
394 | 394 | // Find context in the original string |
395 | 395 | if (strpos($translation_data[$i]['msgid'], "\004") !== false) { |
@@ -416,7 +416,7 @@ discard block |
||
416 | 416 | if ($data_transl_strs[$i]['length'] > 0) { // fread does not accept length=0 |
417 | 417 | $length = $data_transl_strs[$i]['length']; |
418 | 418 | $trans_str = unpack('a' . $length . 'str', fread($fp, $length)); |
419 | - $translation_data[$i]['msgstr'] = $trans_str['str']; // unpack converts to array :S |
|
419 | + $translation_data[$i]['msgstr'] = $trans_str['str']; // unpack converts to array :S |
|
420 | 420 | |
421 | 421 | // If there are plural forms in the source string, |
422 | 422 | // then the translated string must contain plural |
@@ -55,13 +55,13 @@ discard block |
||
55 | 55 | $entryId = strtoupper($entryid); |
56 | 56 | |
57 | 57 | $res = [ |
58 | - 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
59 | - 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
60 | - 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
61 | - 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
62 | - 'uniqueId' => '', // ULONG, 16 bytes, 32 hex characters |
|
63 | - 'server' => '', // CHAR, variable length |
|
64 | - 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
58 | + 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
59 | + 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
60 | + 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
61 | + 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
62 | + 'uniqueId' => '', // ULONG, 16 bytes, 32 hex characters |
|
63 | + 'server' => '', // CHAR, variable length |
|
64 | + 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
65 | 65 | ]; |
66 | 66 | |
67 | 67 | $res['length'] = strlen($entryId); |
@@ -100,13 +100,13 @@ discard block |
||
100 | 100 | $entryId = strtoupper($entryid); |
101 | 101 | |
102 | 102 | $res = [ |
103 | - 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
104 | - 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
105 | - 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
106 | - 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
107 | - 'id' => '', // ULONG, 4 bytes, 8 hex characters |
|
108 | - 'server' => '', // CHAR, variable length |
|
109 | - 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
103 | + 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
104 | + 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
105 | + 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
106 | + 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
107 | + 'id' => '', // ULONG, 4 bytes, 8 hex characters |
|
108 | + 'server' => '', // CHAR, variable length |
|
109 | + 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
110 | 110 | ]; |
111 | 111 | |
112 | 112 | $res['length'] = strlen($entryId); |
@@ -185,13 +185,13 @@ discard block |
||
185 | 185 | $entryId = strtoupper($entryId); |
186 | 186 | |
187 | 187 | $res = [ |
188 | - 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
189 | - 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
190 | - 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
191 | - 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
192 | - 'id' => '', // ULONG, 16 bytes, 32 hex characters |
|
193 | - 'extid' => '', // CHAR, variable length |
|
194 | - 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
188 | + 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
189 | + 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
190 | + 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
191 | + 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
192 | + 'id' => '', // ULONG, 16 bytes, 32 hex characters |
|
193 | + 'extid' => '', // CHAR, variable length |
|
194 | + 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
195 | 195 | ]; |
196 | 196 | |
197 | 197 | $res['length'] = strlen($entryId); |
@@ -636,8 +636,7 @@ discard block |
||
636 | 636 | } |
637 | 637 | } |
638 | 638 | elseif ($checkValue !== null && $val != $checkValue) { |
639 | - $user = $GLOBALS["mapisession"] !== null ? $GLOBALS["mapisession"]->getUserName() : |
|
640 | - "<mapisession not yet initialized>"; |
|
639 | + $user = $GLOBALS["mapisession"] !== null ? $GLOBALS["mapisession"]->getUserName() : "<mapisession not yet initialized>"; |
|
641 | 640 | error_log(sprintf( |
642 | 641 | "Unexpected value in store entryid for user %s. Entryid: %s key: '%s' value: '%s' expected: %s", |
643 | 642 | $user, |
@@ -667,13 +666,13 @@ discard block |
||
667 | 666 | $entryId = strtoupper($entryId); |
668 | 667 | |
669 | 668 | $res = [ |
670 | - 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
671 | - 'messagetype' => '', // UINT, 2 bytes, 4 hex characters |
|
672 | - 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
673 | - 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
674 | - 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
675 | - 'messagedbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
676 | - 'messagecounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
669 | + 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
670 | + 'messagetype' => '', // UINT, 2 bytes, 4 hex characters |
|
671 | + 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
672 | + 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
673 | + 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
674 | + 'messagedbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
675 | + 'messagecounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
677 | 676 | ]; |
678 | 677 | |
679 | 678 | if (!$entryId) { |
@@ -733,12 +732,12 @@ discard block |
||
733 | 732 | $entryId = strtoupper($entryId); |
734 | 733 | |
735 | 734 | $res = [ |
736 | - 'abflags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
737 | - 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
738 | - 'foldertype' => '', // UINT, 2 bytes, 4 hex characters |
|
739 | - 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
740 | - 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
741 | - 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
735 | + 'abflags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
736 | + 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
737 | + 'foldertype' => '', // UINT, 2 bytes, 4 hex characters |
|
738 | + 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
739 | + 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
740 | + 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
742 | 741 | ]; |
743 | 742 | |
744 | 743 | if (!$entryId) { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | // OR |
218 | 218 | [RES_OR, |
219 | 219 | [ |
220 | - [RES_AND, // Normal items: itemEnd must be after viewStart, itemStart must be before viewEnd |
|
220 | + [RES_AND, // Normal items: itemEnd must be after viewStart, itemStart must be before viewEnd |
|
221 | 221 | [ |
222 | 222 | [RES_PROPERTY, |
223 | 223 | [RELOP => RELOP_GT, |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | ], |
242 | 242 | ], |
243 | 243 | ], // EXISTS OR |
244 | - ]; // global OR |
|
244 | + ]; // global OR |
|
245 | 245 | |
246 | 246 | // Get requested properties, plus whatever we need |
247 | 247 | $proplist = [PR_ENTRYID, $properties["recurring"], $properties["recurring_data"], $properties["timezone_data"]]; |
@@ -360,7 +360,7 @@ |
||
360 | 360 | ]; |
361 | 361 | $fileDependencies[$filename] = [ |
362 | 362 | 'depends' => [], |
363 | - 'core' => $core, // Based on tag or on class or on file path? |
|
363 | + 'core' => $core, // Based on tag or on class or on file path? |
|
364 | 364 | ]; |
365 | 365 | |
366 | 366 | for ($j = 0, $lenJ = count($class[1]); $j < $lenJ; ++$j) { |
@@ -58,8 +58,8 @@ |
||
58 | 58 | curl_setopt($curl, CURLOPT_USERPWD, $this->userName . ":" . $this->password); |
59 | 59 | curl_setopt($curl, CURLOPT_FILE, $file_handle); |
60 | 60 | curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); |
61 | - curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); |
|
62 | - curl_setopt($curl, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); |
|
61 | + curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP|CURLPROTO_HTTPS); |
|
62 | + curl_setopt($curl, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP|CURLPROTO_HTTPS); |
|
63 | 63 | |
64 | 64 | curl_exec($curl); |
65 | 65 |