The above code yields an http link URL and NOT a path.
farmURL will be correctly set to
http://localhost/BW3414/boltwire/farm
which is what I think the default BW is supposed to do, but didn't for
me!
That may be because I do not have a root level install, but that never
was a problem on prior versions.
Since the boltwire provided $fieldURL is a URL and the dirname()
function works on URLs as well as PATHS and just chops off the last
forlder name of the URL. I modeled it after the engine.php line 46ish
where $fieldURL was set:
BOLTdefault($fieldURL, dirname("http://$_SERVER[HTTP_HOST]
$_SERVER[REQUEST_URI] ") . '/');
which yields a URL not a path.
But seems to me the default BW should be fixed so new user does not
have to do the fix above. Most folks try out software in a folder and
not at the root.
--
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.