Problem with double slashes - Joomla! Forum - community, help and support


in joomla 1.0, i'd do:

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

code: select all

<img src="<?=juri::base()?>templates/image.gif" />





Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support