Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]Yorick Peterse[/eluser]
[quote author="jgdovin" date="1255286480"]it still works, I dont like that it outputs it as follows
Code:
<img src="http://onlytechnews.com//application/cache/captcha/1255268260.92.jpg" width="150" height="30" style="border:0;" alt=" " /><br />
thats the APPPATH_URI adding another /, but it does work. Is there a reason you cant just use APPPATH for the img_url? that gets rid of the extra /. Anyway, either way it works now. Again great cms! :-D[/quote]

In case you want to get rid of the // in a rather ugly way, use the following :

Code:
&lt;?php
str_replace("//","/",the_array['img_url']);
?&gt;


Messages In This Thread
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - by El Forum - 10-11-2009, 09:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB