Topic: pun_link() usage
In header.php, the JS include (line 115) uses $base_url instead of pun_link(). Is there any reason for this?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 troubleshooting → pun_link() usage
In header.php, the JS include (line 115) uses $base_url instead of pun_link(). Is there any reason for this?
Because there's no need for url rewrite support. The same applies to the css files.
I think he meant using pun_link('include/js/common.js') as opposed to concatenating the path with base URL. Doing either would have the same effect, the difference is whether we want to mandate that people use pun_url for everything or only when rewriting.
PunBB Forums → PunBB 1.3 troubleshooting → pun_link() usage
Powered by PunBB, supported by Informer Technologies, Inc.