Changeset 2490952
- Timestamp:
- 03/09/2021 07:34:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
drm-protected-video-streaming/trunk/includes/player.php
r2490400 r2490952 564 564 565 565 /* 566 * getallheaders function doesnt exist bug fix 567 * @author s3bubble 568 * @params none 569 */ 570 if (!function_exists('getallheaders')) { 571 572 function getallheaders() { 573 574 $headers = []; 575 576 foreach ($_SERVER as $name => $value) { 577 578 if (substr($name, 0, 5) == 'HTTP_') { 579 580 $headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value; 581 582 } 583 584 } 585 586 return $headers; 587 588 } 589 590 } 591 592 /* 566 593 * Get the DRM token 567 594 * @author s3bubble
Note: See TracChangeset
for help on using the changeset viewer.