]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Elgg multisite enabled.
authorSem <sembrestels@riseup.net>
Fri, 13 Apr 2012 21:58:25 +0000 (23:58 +0200)
committerSem <sembrestels@riseup.net>
Fri, 13 Apr 2012 21:58:25 +0000 (23:58 +0200)
engine/settings.example.php

index 011770f89e387867b0a14f11e9a57cfffc524c66..e42f3e9c663ba86166b47b08f2abe528b7af303b 100644 (file)
@@ -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);
+}