[pmwiki-users] $PubDirUrl in skin template?

Petko Yotov 5ko at 5ko.fr
Mon Jan 25 07:47:15 CST 2010

On Monday 25 January 2010 13:07:01, SteP wrote :
> I have added <img src='{$PubDirUrl}/images/mail.png'> to my skin template
>  file, but the html source expands to <img src='/images/mail.png'> so no
>  image is displayed.
> $PubDirUrl is correctly set in my config.php file, and I can debug print it
>  in skin.php. What am I doing wrong?  TIA

Use $PubDirUrl without {}.


More information about the pmwiki-users mailing list