summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-09-12 07:52:52 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-09-12 07:52:52 -0700
commita44bda729fc7e50263de61a9c9889daba3cd7f2b (patch)
tree60c566f79b78474e359c30c15b3945fbad156b53 /includes/file.inc
parent9b377a458088a4f156914b351762eec65f72db5b (diff)
downloadbrdo-a44bda729fc7e50263de61a9c9889daba3cd7f2b.tar.gz
brdo-a44bda729fc7e50263de61a9c9889daba3cd7f2b.tar.bz2
Issue #692366 by mariacha1, hosef, Albert Volkman, xjm, underq, kid_icarus, willmoy, bradweikel: Replace US-centric php.net URLs with language-neutral URLs
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 06657cfbe..44e342233 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -1108,7 +1108,7 @@ function file_munge_filename($filename, $extensions, $alerts = TRUE) {
// Allow potentially insecure uploads for very savvy users and admin
if (!variable_get('allow_insecure_uploads', 0)) {
- // Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
+ // Remove any null bytes. See http://php.net/manual/security.filesystem.nullbytes.php
$filename = str_replace(chr(0), '', $filename);
$whitelist = array_unique(explode(' ', trim($extensions)));
@@ -1414,7 +1414,7 @@ function file_save_upload($source, $validators = array(), $destination = FALSE,
// Check for file upload errors and return FALSE if a lower level system
// error occurred. For a complete list of errors:
- // See http://php.net/manual/en/features.file-upload.errors.php.
+ // See http://php.net/manual/features.file-upload.errors.php.
switch ($_FILES['files']['error'][$source]) {
case UPLOAD_ERR_INI_SIZE:
case UPLOAD_ERR_FORM_SIZE:
@@ -2177,7 +2177,7 @@ function drupal_chmod($uri, $mode = NULL) {
* @param $uri
* A URI or pathname.
* @param $context
- * Refer to http://php.net/manual/en/ref.stream.php
+ * Refer to http://php.net/manual/ref.stream.php
*
* @return
* Boolean TRUE on success, or FALSE on failure.
@@ -2310,7 +2310,7 @@ function drupal_basename($uri, $suffix = NULL) {
* @param $recursive
* Default to FALSE.
* @param $context
- * Refer to http://php.net/manual/en/ref.stream.php
+ * Refer to http://php.net/manual/ref.stream.php
*
* @return
* Boolean TRUE on success, or FALSE on failure.
@@ -2341,7 +2341,7 @@ function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) {
* @param $uri
* A URI or pathname.
* @param $context
- * Refer to http://php.net/manual/en/ref.stream.php
+ * Refer to http://php.net/manual/ref.stream.php
*
* @return
* Boolean TRUE on success, or FALSE on failure.