Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for installs not made at root of web server #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ndunand
Copy link

@ndunand ndunand commented Apr 13, 2021

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.

@ghost
Copy link

ghost commented Apr 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants