Revision 555
Added by Matthias almost 17 years ago
class.wb.php | ||
---|---|---|
153 | 153 |
function page_link($link){ |
154 | 154 |
// Check for :// in the link (used in URL's) as well as mailto: |
155 | 155 |
if(strstr($link, '://') == '' AND substr($link, 0, 7) != 'mailto:') { |
156 |
return WB_URL.PAGES_DIRECTORY.$link.'.php';
|
|
156 |
return WB_URL.PAGES_DIRECTORY.$link.PAGE_EXTENSION;
|
|
157 | 157 |
} else { |
158 | 158 |
return $link; |
159 | 159 |
} |
Also available in: Unified diff
Revoked parts of changeset [547] and again introduced changeset [540]