|
@@ -170,9 +170,9 @@ $databases = [];
|
|
|
* information on these defaults and the potential issues.
|
|
|
*
|
|
|
* More details can be found in the constructor methods for each driver:
|
|
|
- * - \Drupal\Core\Database\Driver\mysql\Connection::__construct()
|
|
|
- * - \Drupal\Core\Database\Driver\pgsql\Connection::__construct()
|
|
|
- * - \Drupal\Core\Database\Driver\sqlite\Connection::__construct()
|
|
|
+ * - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
|
|
|
+ * - \Drupal\pgsql\Driver\Database\pgsql\Connection::__construct()
|
|
|
+ * - \Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()
|
|
|
*
|
|
|
* Sample Database configuration format for PostgreSQL (pgsql):
|
|
|
* @code
|
|
@@ -490,6 +490,29 @@ $settings['update_free_access'] = FALSE;
|
|
|
*/
|
|
|
# $settings['file_public_path'] = 'sites/default/files';
|
|
|
|
|
|
+/**
|
|
|
+ * Additional public file schemes:
|
|
|
+ *
|
|
|
+ * Public schemes are URI schemes that allow download access to all users for
|
|
|
+ * all files within that scheme.
|
|
|
+ *
|
|
|
+ * The "public" scheme is always public, and the "private" scheme is always
|
|
|
+ * private, but other schemes, such as "https", "s3", "example", or others,
|
|
|
+ * can be either public or private depending on the site. By default, they're
|
|
|
+ * private, and access to individual files is controlled via
|
|
|
+ * hook_file_download().
|
|
|
+ *
|
|
|
+ * Typically, if a scheme should be public, a module makes it public by
|
|
|
+ * implementing hook_file_download(), and granting access to all users for all
|
|
|
+ * files. This could be either the same module that provides the stream wrapper
|
|
|
+ * for the scheme, or a different module that decides to make the scheme
|
|
|
+ * public. However, in cases where a site needs to make a scheme public, but
|
|
|
+ * is unable to add code in a module to do so, the scheme may be added to this
|
|
|
+ * variable, the result of which is that system_file_download() grants public
|
|
|
+ * access to all files within that scheme.
|
|
|
+ */
|
|
|
+# $settings['file_additional_public_schemes'] = ['example'];
|
|
|
+
|
|
|
/**
|
|
|
* Private file path:
|
|
|
*
|
|
@@ -703,6 +726,8 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
|
|
|
* @endcode
|
|
|
* will allow the site to run off of all variants of example.com and
|
|
|
* example.org, with all subdomains included.
|
|
|
+ *
|
|
|
+ * @see https://www.drupal.org/docs/installing-drupal/trusted-host-settings
|
|
|
*/
|
|
|
|
|
|
/**
|