[pmwiki-users] minor Bug? by using $PubDirUrl ?

Patrick R. Michaud pmichaud at pobox.com
Sun Mar 12 16:46:09 CST 2006


On Sun, Mar 12, 2006 at 11:00:51PM +0100, WvL wrote:
> Hi [[pm]]list,
> 
> if i define
>  $PubDirUrl = 'pub';
> using it for
> e.g.
>  $PageLogoUrl = "$PubDirUrl/skins/my_skin/my_logo-64.gif";
> 
> then Image-Attachment-URLS for uploaded images
> include in their reference-path 'pub'
> and not 'uploads' as expected,

PmWiki *really* expects there to be a slash somewhere in $PubDirUrl.
I might be able to fix this, but in case I can't there's always
the option of setting $UploadUrlFmt explicitly:

    $UploadUrlFmt = 'upload';

Pm




More information about the pmwiki-users mailing list