You are not logged in.
- Topics: Active | Unanswered
#1 2009-07-03 00:02:25
- Plume
- Member
- Registered: 2009-07-02
- Posts: 2
[Feature] "generate_navlinks" may generate links relative to PUN_ROOT
Hi,
We are building a home page and having generate_navlinks() prefixing navigation links it generates by PUN_ROOT ("/forum") lets the possibility to call the function on the home page. As far as I have looked into the your code, it should not change any behaviour.
It might be usefull to others so here I am with a regex style© patch:
In include/functions.php@generate_navlinks()
307,60s/href="/href="'.PUN_ROOT.'/gOffline
#2 2009-07-03 00:46:53
- Plume
- Member
- Registered: 2009-07-02
- Posts: 2
Re: [Feature] "generate_navlinks" may generate links relative to PUN_ROOT
Hum, is it a good idea to prefix *all* href referencing .php files by PUN_ROOT ?
Offline
