FrogFind icon indicating copy to clipboard operation
FrogFind copied to clipboard

Fix for installs not made at root of web server

Open ndunand opened this issue 4 years ago • 1 comments

Hi,

My test install was made on an existing server but not at the root. For instance: https://my.host.name/frogfind/ instead of https://my.frogfind.name/ .

The problem is that all redirection links are hard-coded to go to the root of the system (i.e. to "/read.php" etc.), which then only works if you installed FrogFind at the root, which is not my case.

This fixes that.

ndunand avatar Apr 13 '21 12:04 ndunand

Hey.... thanks for this. I had to make the following change to line 85 of read.php to get images to work:

            $imgline_html .= " <a href='../image.php?loc=" . $loc . "&i=" . $image_url . "'>[$img_num]</a> ";

ghost avatar Apr 15 '21 01:04 ghost