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

H. Fox haganfox at users.sourceforge.net
Sun Mar 12 17:07:50 CST 2006


On 3/12/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> 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';

or use

    $PubDirUrl = './pub';

Hagan




More information about the pmwiki-users mailing list