Topic: Short URL (no domain) In BBCode?
I'm making an extension where I'm using [img]path/file.jpg[/img] for uploaded (local) files (base href="/" is in <head>).
It's making me use the domain in the path. eg: http://domain.com/forum/path/file.txt
What do I need to change in the parser to allow "img" and "url" bbcode to use just "path/file.txt"?