aboutsummaryrefslogtreecommitdiff
path: root/mod/file/actions/save.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:15:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:15:36 +0000
commit9255088a79a034c3cdf4eb46124504b9dd0c838e (patch)
treea225048f7475ea8ddb4820b539f8482655d9da8e /mod/file/actions/save.php
parent323e3ee1dafdf7bdd60607fd960e53957fce770d (diff)
downloadelgg-9255088a79a034c3cdf4eb46124504b9dd0c838e.tar.gz
elgg-9255088a79a034c3cdf4eb46124504b9dd0c838e.tar.bz2
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
Diffstat (limited to 'mod/file/actions/save.php')
-rw-r--r--mod/file/actions/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/actions/save.php b/mod/file/actions/save.php
index 923bc043b..17a9b16fb 100644
--- a/mod/file/actions/save.php
+++ b/mod/file/actions/save.php
@@ -17,7 +17,7 @@
if (!$file = get_entity($guid)) {
register_error(elgg_echo("file:uploadfailed"));
- forward($CONFIG->wwwroot . "pg/file/" . get_loggedin_user()->username);
+ forward(elgg_get_site_url() . "pg/file/" . get_loggedin_user()->username);
exit;
}
@@ -44,5 +44,5 @@
else
register_error(elgg_echo("file:uploadfailed"));
- forward($CONFIG->wwwroot . "pg/file/" . $container->username);
+ forward(elgg_get_site_url() . "pg/file/" . $container->username);
?> \ No newline at end of file