Skip to content
Snippets Groups Projects
Commit ed5b7fd1 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #929166 by dww, deviantintegral, yoroy: Add warning if private files are...

Issue #929166 by dww, deviantintegral, yoroy: Add warning if private files are accessible over the web.
parent 5f0bb902
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1757,7 +1757,7 @@ function system_file_system_settings() { ...@@ -1757,7 +1757,7 @@ function system_file_system_settings() {
'#title' => t('Private file system path'), '#title' => t('Private file system path'),
'#default_value' => variable_get('file_private_path', ''), '#default_value' => variable_get('file_private_path', ''),
'#maxlength' => 255, '#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'), '#after_build' => array('system_check_directory'),
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment