relative path into HTML editor

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
oleane
Posts: 17
Joined: Mon 26. Apr 2004, 22:07

relative path into HTML editor

Post by oleane »

Does someone know how to get a relative path into html editor ?
I explain me.
I use SPAW editor. When i put my link into <a href="./picture/xxxx">test</a> i get when i confirm this
: <a href="http://localhost/picture/xxxx">test</a>

Why the HTML editor put http://localhost/ in front of
Is there a way to keep the relative path ?

Thank
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I ~think~ that is coming from "spaw_control.config.php":

Code: Select all

// base url for images
$spaw_base_url = $phpwcms["site"];
Post Reply