Skip to content
Snippets Groups Projects
Commit 3cf9f1d2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #663644 by boombatower: remove notice from run-tests.sh.

parent 96ababd1
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ function simpletest_script_init($server_software) {
$_SERVER['PHP_SELF'] = $path .'/index.php';
$_SERVER['HTTP_USER_AGENT'] = 'Drupal command line';
if ($_SERVER['HTTPS'] == 'on') {
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
// Ensure that any and all environment variables are changed to https://.
foreach ($_SERVER as $key => $value) {
$_SERVER[$key] = str_replace('http://', 'https://', $_SERVER[$key]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment