diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-19 16:58:55 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-19 16:58:55 +0000 |
commit | 389ad222ec2e0457106339fb71713dad7b95f80e (patch) | |
tree | 0012a3aaacf6e8823dd3abe5e2c62ded51845660 /IkiWiki | |
parent | 9e1c79e58824814eb3de721176813ea79cbc518c (diff) |
* Add userdir config setting.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index d00de740a..9b5ee6c19 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -666,7 +666,9 @@ sub userlink ($) { #{{{ return "<a href=\"$user\">".escapeHTML($display)."</a>"; } else { - return htmllink("", "", escapeHTML($user), 1); + return htmllink("", "", escapeHTML( + length $config{userdir} ? $config{userdir}."/".$user : $user + ), 1); } } #}}} |