summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-15 10:51:02 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-15 10:51:02 +0000
commit3cf9f1d29564b94b73fee1a5a8dfe1b4eab1892d (patch)
treefeeeb086c8fbbe03719cd060e36ee98f25f414b0 /scripts
parent96ababd133f357001b28638be274ef6d67143210 (diff)
downloadbrdo-3cf9f1d29564b94b73fee1a5a8dfe1b4eab1892d.tar.gz
brdo-3cf9f1d29564b94b73fee1a5a8dfe1b4eab1892d.tar.bz2
- Patch #663644 by boombatower: remove notice from run-tests.sh.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 068ffffef..482163a12 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -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]);