Created
February 4, 2024 05:38
-
-
Save prashantdsala/77d904fe8cc1f2b7d76b70e954bb54a9 to your computer and use it in GitHub Desktop.
Drupal - Specify path for private files directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Private file path: | |
* | |
* A local file system path where private files will be stored. This directory | |
* must be absolute, outside of the Drupal installation directory and not | |
* accessible over the web. | |
* | |
* Note: Caches need to be cleared when this value is changed to make the | |
* private:// stream wrapper available to the system. | |
* | |
* See https://www.drupal.org/documentation/modules/file for more information | |
* about securing private files. | |
*/ | |
$settings['file_private_path'] = $app_root . '/../private_files'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment