aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-04-13 23:58:25 +0200
committerSem <sembrestels@riseup.net>2012-04-13 23:58:25 +0200
commite64837f87025ce7baf51bcfa5201e8904801830e (patch)
tree5a8d7c37bbfce9a19cb46eafd7f9a0ef9be826e9
parent18de117e23e6adfdead7ad2a96ef7eb275668672 (diff)
downloadelgg-e64837f87025ce7baf51bcfa5201e8904801830e.tar.gz
elgg-e64837f87025ce7baf51bcfa5201e8904801830e.tar.bz2
Elgg multisite enabled.
-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);
+}