diff options
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r-- | engine/lib/export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php index eaf2fd3dd..3a5c74a0f 100644 --- a/engine/lib/export.php +++ b/engine/lib/export.php @@ -42,7 +42,7 @@ function get_uuid_from_object($object) { function guid_to_uuid($guid) { global $CONFIG; - return $CONFIG->wwwroot . "export/opendd/$guid/"; + return elgg_get_site_url() . "export/opendd/$guid/"; } /** @@ -55,7 +55,7 @@ function guid_to_uuid($guid) { function is_uuid_this_domain($uuid) { global $CONFIG; - if (strpos($uuid, $CONFIG->wwwroot) === 0) { + if (strpos($uuid, elgg_get_site_url()) === 0) { return true; } |