aboutsummaryrefslogtreecommitdiff
path: root/mod/file/actions/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/actions/upload.php')
-rw-r--r--mod/file/actions/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/actions/upload.php b/mod/file/actions/upload.php
index 367488d7c..82744730c 100644
--- a/mod/file/actions/upload.php
+++ b/mod/file/actions/upload.php
@@ -193,7 +193,7 @@
if (!$ajax) {
$container_user = get_entity($container_guid);
- forward($CONFIG->wwwroot . "pg/file/" . $container_user->username);
+ forward(elgg_get_site_url() . "pg/file/" . $container_user->username);
}
} else {