aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 861be7946..1abb60fcc 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -163,6 +163,8 @@ function settings_content(&$a) {
$nickname_block = replace_macros($nickname_block,array(
'$nickname' => $nickname,
+ '$uid' => $_SESSION['uid'],
+ '$basepath' => substr($a->get_baseurl(),strpos($a->get_baseurl(),'://') + 3),
'$baseurl' => $a->get_baseurl()));
$o = file_get_contents('view/settings.tpl');