From 949a233076ec18f86e60f90a7a8837cb422664af Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 3 Feb 2011 03:33:52 +0000 Subject: Refs #2428 almost done removing CONFIG access - mostly plugin start.php left git-svn-id: http://code.elgg.org/elgg/trunk@7999 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/twitterservice/views/default/usersettings/twitterservice/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/twitterservice/views/default') diff --git a/mod/twitterservice/views/default/usersettings/twitterservice/edit.php b/mod/twitterservice/views/default/usersettings/twitterservice/edit.php index 95a2a2fd6..eb5a50969 100644 --- a/mod/twitterservice/views/default/usersettings/twitterservice/edit.php +++ b/mod/twitterservice/views/default/usersettings/twitterservice/edit.php @@ -15,7 +15,7 @@ if (!$access_key || !$access_secret) { $request_link = twitterservice_get_authorize_url(); echo '

' . sprintf(elgg_echo('twitterservice:usersettings:request'), $request_link) . '

'; } else { - $url = "{$CONFIG->site->url}pg/twitterservice/revoke"; + $url = elgg_get_site_url() . "pg/twitterservice/revoke"; echo '

' . sprintf(elgg_echo('twitterservice:usersettings:authorized'), $twitter_name) . '

'; echo '

' . sprintf(elgg_echo('twitterservice:usersettings:revoke'), $url) . '

'; } -- cgit v1.2.3