It seems the default settings are to put the farm directory at

     root/boltwire/farm

 to work properly.

Your solution of

     $farmURL = dirname($fieldURL).'/boltwire/farm';

is fine for your situation, but not for the default as it would put
the farm in the field, when it should be an external location --
available equally to multiple fields.

I'm not sure there is a better default setting, but am open to
suggestions. Either way, sounds like your solution is fine.

Cheers,
Dan


On Fri, Jan 21, 2011 at 8:36 PM, jacmgr <[email protected]> wrote:
> 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.
>
>

-- 
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