aboutsummaryrefslogtreecommitdiff
path: root/engine/settings.example.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/settings.example.php')
-rw-r--r--engine/settings.example.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/settings.example.php b/engine/settings.example.php
index 011770f89..e42f3e9c6 100644
--- a/engine/settings.example.php
+++ b/engine/settings.example.php
@@ -121,3 +121,14 @@ $CONFIG->db_disable_query_cache = FALSE;
* @global int $CONFIG->min_password_length
*/
$CONFIG->min_password_length = 6;
+
+/**
+ * Multisite
+ *
+ * Override settings with the domain-specific seed configuration
+ */
+$settings_path = dirname(__FILE__); // Change it to "/srv/seeds/" if you can
+$settings_path .= $_SERVER['HTTP_HOST']."/settings.php";
+if (is_readable($settings_path)) {
+ include($settings_path);
+}