aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 16:45:52 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 16:45:52 +0000
commitb7c631899e13dff55a708110461f1a406d91d692 (patch)
treed693750a353273979e76a8643c05b3d94594e82d
parentd901ceacb01b42cabf29f5f9242c29500e109fcd (diff)
downloadelgg-b7c631899e13dff55a708110461f1a406d91d692.tar.gz
elgg-b7c631899e13dff55a708110461f1a406d91d692.tar.bz2
Establishing $CONFIG->site
git-svn-id: https://code.elgg.org/elgg/trunk@617 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/sites.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 89ab9bd80..92cd54ecb 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -471,6 +471,7 @@
$CONFIG->site_id = $site;
}
$CONFIG->site_guid = $CONFIG->site_id;
+ $CONFIG->site = get_entity($CONFIG->site_guid);
return true;