summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authoreffulgentsia2015-10-02 18:49:01 (GMT)
committereffulgentsia2015-10-02 18:49:01 (GMT)
commitc1316d6957820bbf5e2ef9a5684cfba09fb4e131 (patch)
treebf636fbaa23cf5e4ee8a594bd8c11ef85348b64d /sites
parent807e5682ce30862d72395a173d0344f7f0b2b513 (diff)
Issue #2522008 by pwolanin, nlisgo, Wim Leers, jplopezy: Provide a setting to override base url when creating links to public files
Diffstat (limited to 'sites')
-rw-r--r--sites/default/default.settings.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index ad557f5..1ea5d72 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -454,6 +454,19 @@ if ($settings['hash_salt']) {
# $settings['file_chmod_file'] = 0664;
/**
+ * Public file base URL:
+ *
+ * An alternative base URL to be used for serving public files. This must
+ * include any leading directory path.
+ *
+ * A different value from the domain used by Drupal to be used for accessing
+ * public files. This can be used for a simple CDN integration, or to improve
+ * security by serving user-uploaded files from a different domain or subdomain
+ * pointing to the same server. Do not include a trailing slash.
+ */
+# $settings['file_public_base_url'] = 'http://downloads.example.com/files';
+
+/**
* Public file path:
*
* A local file system path where public files will be stored. This directory