Revision 547
Added by Matthias almost 18 years ago
| class.wb.php | ||
|---|---|---|
| 151 | 151 |
function page_link($link){
|
| 152 | 152 |
// Check for :// in the link (used in URL's) as well as mailto: |
| 153 | 153 |
if(strstr($link, '://') == '' AND substr($link, 0, 7) != 'mailto:') {
|
| 154 |
return WB_URL.PAGES_DIRECTORY.$link.PAGE_EXTENSION;
|
|
| 154 |
return WB_URL.PAGES_DIRECTORY.$link.'.php';
|
|
| 155 | 155 |
} else {
|
| 156 | 156 |
return $link; |
| 157 | 157 |
} |
Also available in: Unified diff
Reintroduced changes from changeset [520] and [540] wich where overwritten by changeset [546]
Revoked changeset [541] end removed all PAGE_EXTENSION variables and the related option in WB settings as this function only works on Apache Servers together with .htaccess and mod_rewrite
Added keywords to file menu_link/uninstall.php