1
angaran
Not really a bug but...
  • 2005/11/24 10:57

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


While looking at my site HTML source code i noticed that many images have a link like

http://www.mysite.com/themes/mytheme//images/image.gif

In the theme.html file the url are retrieved with the help of the Smarty variable "xoops_imageurl".

I looked in the theme.php class and noticed that this variable is defined with a trailing slash.

With this kind of definition the theme.html would be written with a code like this:

le="color: #000000"><?php <{$xoops_imageurl}>images/image.gif


instead of

le="color: #000000"><?php <{$xoops_imageurl}>/images/image.gif


What do you think is the right way? However the images are loaded correctly even with the double slash

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!