aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-08 20:25:05 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-08 20:25:05 -0700
commita26f4eeff6edcb49ad2e7607512853ddd24374cc (patch)
tree6d6c610d9690f5f2367388b53eca5d044b34f730 /mod/settings.php
parent9cd9ce9c170fbda524c06f62922cbe33a8fe9b82 (diff)
downloadvolse-hubzilla-a26f4eeff6edcb49ad2e7607512853ddd24374cc.tar.gz
volse-hubzilla-a26f4eeff6edcb49ad2e7607512853ddd24374cc.tar.bz2
volse-hubzilla-a26f4eeff6edcb49ad2e7607512853ddd24374cc.zip
new nickname policy
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');