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

No difference. Still the image has this address:

http://localhost:8888/test/boltwire/farm/img/boltwire.gif

and still:
img: ../boltwire/farm/img
farm: http://localhost:8888/boltwire/farm

I haven't set anything fancy in index.php just:
$cleanURL='http://localhost:8888/test/';
$fieldURL='http://localhost:8888/test/';

Probably I am wrong in my imagination that it's as easy as to set
where / should be set, i.e. one level up of the boltwire folder and
then compute every address from / and therefore not getting into
trouble whether sub level pages are rewritten or not.

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