From 9255088a79a034c3cdf4eb46124504b9dd0c838e Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:15:36 +0000 Subject: Refs #2598: Converted virtually all uses of $CONFIG->wwwroot to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7146 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/addcomment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile/actions/addcomment.php') diff --git a/mod/profile/actions/addcomment.php b/mod/profile/actions/addcomment.php index 0e241db0a..86d3cbd47 100644 --- a/mod/profile/actions/addcomment.php +++ b/mod/profile/actions/addcomment.php @@ -26,7 +26,7 @@ if ($user && !empty($message_content)) { elgg_echo('profile:comment:body'), get_loggedin_user()->name, $message_content, - $CONFIG->wwwroot . "pg/profile/" . $user->username, + elgg_get_site_url() . "pg/profile/" . $user->username, get_loggedin_user()->name, get_loggedin_user()->getURL() ) -- cgit v1.2.3