[Pmwiki-users] Local Site Shortcut
Patrick R. Michaud
pmichaud
Thu Oct 9 06:50:02 CDT 2003
On Thu, Oct 09, 2003 at 11:43:54AM +0100, Dave Jackson wrote:
>
> I've had a look, and tried adding the following to local.php:
> $SiteUrl = 'http://'.$HTTP_SERVER_VARS['HTTP_HOST'];
> $InterMapUrls['ThisSite'] = $SiteUrl;
Try
$SiteUrl = 'http://'.$HTTP_SERVER_VARS['HTTP_HOST'];
$LinkPatterns[400]["\\bThisSite:($UrlPathPattern)"] = $FmtUrlLink;
$InterMapUrls['ThisSite'] = $SiteUrl;
You might also look at scripts/thiswiki.php to see how it's done for
ThisWiki:, ThisGroup:, etc.
Pm
More information about the pmwiki-users
mailing list