Markus, I spent a good bit of time digging into this and poring over
the php docs to figure out what was going on.  Found a few things:

1) $$farm returns the value of $farmURL, not $farmPath, so setting
$farmPath in index.php will not change the value returned for $$farm.

I could not find any place the $farmURL value is used in the core
code, so I have disabled it for the next release and changed $$farm to
return the $farmPath. It is possible some plugin uses it..

2) When testing if an image exists, I discovered php cannot take a
url. It must take a system path. So setting $farmPath to a url, messes
things up. However, I came up with this workaround: Insert the first
line below and modify the second line in markups.php around ~802.

        if (strpos($location, '://') !== false) $urlexists =
@fopen("$imgPath/$file", 'r');
        if (file_exists($location) || $urlexists) {

It seems to work for me!  Whether or not there are other problems
being cause by your aliasing is another thing entirely.

Cheers
Dan

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