Skip to content

Commit 00fcac4

Browse files
kporras07greg-1-anderson
authored andcommitted
Add default.settings.php changes from 7.91.
1 parent 5d22953 commit 00fcac4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

sites/default/default.settings.php

+23
Original file line numberDiff line numberDiff line change
@@ -782,3 +782,26 @@
782782
* directory.
783783
*/
784784
# $conf['skip_permissions_hardening'] = TRUE;
785+
786+
/**
787+
* Additional public file schemes:
788+
*
789+
* Public schemes are URI schemes that allow download access to all users for
790+
* all files within that scheme.
791+
*
792+
* The "public" scheme is always public, and the "private" scheme is always
793+
* private, but other schemes, such as "https", "s3", "example", or others,
794+
* can be either public or private depending on the site. By default, they're
795+
* private, and access to individual files is controlled via
796+
* hook_file_download().
797+
*
798+
* Typically, if a scheme should be public, a module makes it public by
799+
* implementing hook_file_download(), and granting access to all users for all
800+
* files. This could be either the same module that provides the stream wrapper
801+
* for the scheme, or a different module that decides to make the scheme
802+
* public. However, in cases where a site needs to make a scheme public, but
803+
* is unable to add code in a module to do so, the scheme may be added to this
804+
* variable, the result of which is that system_file_download() grants public
805+
* access to all files within that scheme.
806+
*/
807+
# $conf['file_additional_public_schemes'] = array('example');

0 commit comments

Comments
 (0)