Problem with double slashes - Joomla! Forum - community, help and support
in joomla 1.0, i'd do:
so in joomla 1.5, i'm doing:
but in 1.5, when view source of page, seeing:
what double slash? appreciated.
thank you,
-vince
code: select all
<img src="<?=$mosconfig_live_site?>/templates/image.gif" />
so in joomla 1.5, i'm doing:
code: select all
<img src="<?=juri::base()?>/templates/image.gif" />
but in 1.5, when view source of page, seeing:
code: select all
http://site.com//templates/image.gif
what double slash? appreciated.
thank you,
-vince
juri::base() being rendered ending slash.
you need change to
you need change to
code: select all
<img src="<?=juri::base()?>templates/image.gif" />
Comments
Post a Comment