Skip to content

Update nav.php to use relative path hyperlinks #58

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

akbaig
Copy link
Contributor

@akbaig akbaig commented Mar 23, 2025

This pull request removes the dependency of placing the project at the root level of a website.

  1. Nav.php uses relative path for the hyperlinks
  2. Hyperlink paths are adjusted dynamically (depending upon where the module is called from, /index.php or logs/index.php)

Example:

www.website.com/something/index.php ✅ (Relative hyperlinks still work in this case)

@MichaelBelgium

@MichaelBelgium MichaelBelgium merged commit 8765f96 into MichaelBelgium:master Jun 27, 2025
1 of 2 checks passed
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