Skip to content

Update nav.php to use relative path hyperlinks#58

Merged
MichaelBelgium merged 1 commit intoMichaelBelgium:masterfrom
akbaig:nav-relative-paths
Jun 27, 2025
Merged

Update nav.php to use relative path hyperlinks#58
MichaelBelgium merged 1 commit intoMichaelBelgium:masterfrom
akbaig:nav-relative-paths

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