Ok, this isn't entirely true.

Most plugins seem to assume that the working directory is the
directory of the index.php file. This is not true with clean urls.

However, in order to make sure all plugins work with clean urls a lot
of work would need to put down.

I suggest that the behaviour of boltwire should be made to conform to
the intuitive expectation.

Let boltwire cd into the directory pointed to by fieldURL.

Also, the name fieldURL is really strange, since the standard value is
a directory path, not a URL.

it seems to me the default fieldURL should really be a default
fieldPath, such that


BOLTdefault($fieldURL,"http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]
" );
BOLTdefault($fieldPath, dirname("$fieldURL").'/');


On May 30, 11:15 pm, DrunkenMonk <[email protected]> wrote:
> I took a quick stab at getting clean-urls to work, and after a few
> minor problems with images and rewrite rules (which I fixed by always
> ignoring links that point to real files) I got it working, flawlessly.
>
> I figured since I'm always either trying to help some other guy or
> complaining about something not working, this deserved a mention.

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to