diff options
Diffstat (limited to 'mod/groups/actions/forums')
-rw-r--r-- | mod/groups/actions/forums/addtopic.php | 2 | ||||
-rw-r--r-- | mod/groups/actions/forums/deletetopic.php | 2 | ||||
-rw-r--r-- | mod/groups/actions/forums/edittopic.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/actions/forums/addtopic.php b/mod/groups/actions/forums/addtopic.php index 5f9c8e709..0b8a0f590 100644 --- a/mod/groups/actions/forums/addtopic.php +++ b/mod/groups/actions/forums/addtopic.php @@ -67,7 +67,7 @@ // Forward to the group forum page global $CONFIG; - $url = $CONFIG->wwwroot . "pg/groups/forum/{$group_guid}/"; + $url = elgg_get_site_url() . "pg/groups/forum/{$group_guid}/"; forward($url); } diff --git a/mod/groups/actions/forums/deletetopic.php b/mod/groups/actions/forums/deletetopic.php index 57e4b314f..c67228a2f 100644 --- a/mod/groups/actions/forums/deletetopic.php +++ b/mod/groups/actions/forums/deletetopic.php @@ -30,7 +30,7 @@ register_error(elgg_echo("groupstopic:notdeleted")); } // Forward to the group forum page - $url = $CONFIG->wwwroot . "pg/groups/forum/{$group_guid}/"; + $url = elgg_get_site_url() . "pg/groups/forum/{$group_guid}/"; forward($url); } diff --git a/mod/groups/actions/forums/edittopic.php b/mod/groups/actions/forums/edittopic.php index 59c46af73..247c06c8c 100644 --- a/mod/groups/actions/forums/edittopic.php +++ b/mod/groups/actions/forums/edittopic.php @@ -61,6 +61,6 @@ if ($topic){ } // Forward to the discussion global $CONFIG; -$url = $CONFIG->wwwroot . "mod/groups/topicposts.php?topic={$topic_guid}&group_guid={$group_guid}/"; +$url = elgg_get_site_url() . "mod/groups/topicposts.php?topic={$topic_guid}&group_guid={$group_guid}/"; forward($url); |