summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-09-17 12:12:26 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-09-17 12:12:26 -0700
commit409db6b29916ee8099b5165d327c538c488967f6 (patch)
tree42527ba496eeffa5b0ab2a14242406dca4df1839 /scripts
parent8281aa22df7579718f8ea0a0a64345de0cd78430 (diff)
downloadbrdo-409db6b29916ee8099b5165d327c538c488967f6.tar.gz
brdo-409db6b29916ee8099b5165d327c538c488967f6.tar.bz2
Issue #1742958 by DamienMcKenna: Fix capitalization of URL and other acronyms
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/drupal.sh2
-rwxr-xr-xscripts/run-tests.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/drupal.sh b/scripts/drupal.sh
index 5d064f571..76bd750f5 100755
--- a/scripts/drupal.sh
+++ b/scripts/drupal.sh
@@ -113,7 +113,7 @@ while ($param = array_shift($_SERVER['argv'])) {
$_REQUEST = $_GET;
}
- // set file to execute or Drupal path (clean urls enabled)
+ // set file to execute or Drupal path (clean URLs enabled)
if (isset($path['path']) && file_exists(substr($path['path'], 1))) {
$_SERVER['PHP_SELF'] = $_SERVER['REQUEST_URI'] = $path['path'];
$cmd = substr($path['path'], 1);
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index f651f22bb..334501527 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -268,14 +268,14 @@ function simpletest_script_init($server_software) {
exit();
}
- // Get url from arguments.
+ // Get URL from arguments.
if (!empty($args['url'])) {
$parsed_url = parse_url($args['url']);
$host = $parsed_url['host'] . (isset($parsed_url['port']) ? ':' . $parsed_url['port'] : '');
$path = isset($parsed_url['path']) ? $parsed_url['path'] : '';
// If the passed URL schema is 'https' then setup the $_SERVER variables
- // properly so that testing will run under https.
+ // properly so that testing will run under HTTPS.
if ($parsed_url['scheme'] == 'https') {
$_SERVER['HTTPS'] = 'on';
}