aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/users.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 9e3270aa7..bbfaa4a1f 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1116,6 +1116,9 @@
*/
function users_init() {
+ // Load config
+ global $CONFIG;
+
// Set up menu for logged in users
if (isloggedin())
add_menu(elgg_echo('friends'), $CONFIG->wwwroot . "pg/friends/" . $_SESSION['user']->username);