From 389ad222ec2e0457106339fb71713dad7b95f80e Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 19 Dec 2006 16:58:55 +0000 Subject: * Add userdir config setting. --- IkiWiki/CGI.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'IkiWiki') 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 "".escapeHTML($display).""; } else { - return htmllink("", "", escapeHTML($user), 1); + return htmllink("", "", escapeHTML( + length $config{userdir} ? $config{userdir}."/".$user : $user + ), 1); } } #}}} -- cgit v1.2.3