From: Sem Date: Fri, 13 Apr 2012 21:58:25 +0000 (+0200) Subject: Elgg multisite enabled. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e64837f87025ce7baf51bcfa5201e8904801830e;p=lorea%2Felgg.git Elgg multisite enabled. --- 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); +}