aboutsummaryrefslogtreecommitdiff
path: root/mod/logbrowser/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logbrowser/views/default')
-rw-r--r--mod/logbrowser/views/default/logbrowser/adminlinks.php2
-rw-r--r--mod/logbrowser/views/default/logbrowser/form.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/logbrowser/views/default/logbrowser/adminlinks.php b/mod/logbrowser/views/default/logbrowser/adminlinks.php
index e84e385ed..c52419c89 100644
--- a/mod/logbrowser/views/default/logbrowser/adminlinks.php
+++ b/mod/logbrowser/views/default/logbrowser/adminlinks.php
@@ -1,4 +1,4 @@
<?php
?>
-<a href="<?php echo $vars['url']; ?>mod/logbrowser/?user_guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("logbrowser:explore"); ?></a> \ No newline at end of file
+<a href="<?php echo elgg_get_site_url(); ?>mod/logbrowser/?user_guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("logbrowser:explore"); ?></a> \ No newline at end of file
diff --git a/mod/logbrowser/views/default/logbrowser/form.php b/mod/logbrowser/views/default/logbrowser/form.php
index 7c993e6a2..eb2dd95ba 100644
--- a/mod/logbrowser/views/default/logbrowser/form.php
+++ b/mod/logbrowser/views/default/logbrowser/form.php
@@ -46,7 +46,7 @@
$wrappedform = elgg_view('input/form', array(
'body' => $form,
'method' => 'get',
- 'action' => "{$vars['url']}pg/admin/logbrowser",
+ 'action' => elgg_get_site_url()."pg/admin/logbrowser",
));
?>