From ed5b7fd16f3ffa8f35c2d9fb72978bc4cb351d6e Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Wed, 13 Jul 2011 23:45:21 -0400
Subject: [PATCH] Issue #929166 by dww, deviantintegral, yoroy: Add warning if
 private files are accessible over the web.

---
 modules/system/system.admin.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 9e7d69dd3aed..0d3a8d7a8140 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1757,7 +1757,7 @@ function system_file_system_settings() {
     '#title' => t('Private file system path'),
     '#default_value' => variable_get('file_private_path', ''),
     '#maxlength' => 255,
-    '#description' => t('A local file system path where private files will be stored. This directory must exist and be writable by Drupal. This directory should not be accessible over the web.'),
+    '#description' => t('An existing local file system path for storing private files. It should be writable by Drupal and not accessible over the web. See the online handbook for <a href="@handbook">more information about securing private files</a>.', array('@handbook' => 'http://drupal.org/handbook/modules/file')),
     '#after_build' => array('system_check_directory'),
   );
 
-- 
GitLab