Ticket #12249: defines.patch
File defines.patch, 374 bytes (added by , 10 years ago) |
---|
-
includes/defines.php
diff --git a/includes/defines.php b/includes/defines.php index 8a7292e..0421671 100644
a b 10 10 /**/ 11 11 12 12 // Ensure some keys are set 13 $keys = [13 $keys = array( 14 14 'HTTP_X_FORWARDED_PROTO', 15 15 'HTTPS', 16 ];16 ); 17 17 foreach ($keys as $key) { 18 18 if (!isset($_SERVER[$key])) 19 19 $_SERVER[$key] = NULL;