summaryrefslogtreecommitdiff
path: root/includes/file.inc
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 /includes/file.inc
parent8281aa22df7579718f8ea0a0a64345de0cd78430 (diff)
downloadbrdo-409db6b29916ee8099b5165d327c538c488967f6.tar.gz
brdo-409db6b29916ee8099b5165d327c538c488967f6.tar.bz2
Issue #1742958 by DamienMcKenna: Fix capitalization of URL and other acronyms
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 971a01983..1e256c634 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -398,8 +398,8 @@ function file_create_url($uri) {
}
}
elseif ($scheme == 'http' || $scheme == 'https') {
- // Check for http so that we don't have to implement getExternalUrl() for
- // the http wrapper.
+ // Check for HTTP so that we don't have to implement getExternalUrl() for
+ // the HTTP wrapper.
return $uri;
}
else {
@@ -2236,7 +2236,7 @@ function drupal_realpath($uri) {
if ($wrapper = file_stream_wrapper_get_instance_by_uri($uri)) {
return $wrapper->realpath();
}
- // Check that the uri has a value. There is a bug in PHP 5.2 on *BSD systems
+ // Check that the URI has a value. There is a bug in PHP 5.2 on *BSD systems
// that makes realpath not return FALSE as expected when passing an empty
// variable.
// @todo Remove when Drupal drops support for PHP 5.2.