Rename $config['url_ads'] to $config['link_prefix']
This commit is contained in:
parent
51efd817c8
commit
18516ff828
@ -335,10 +335,8 @@
|
||||
$config['auto_unicode'] = true;
|
||||
// Whether to turn URLs into functional links
|
||||
$config['markup_urls'] = true;
|
||||
$config['url_ads'] = '';
|
||||
// Use it if you want to add something before URL
|
||||
//for example hide referrer 'http://www.nullrefer.com/?' 'http://anonym.to/?'
|
||||
//or add some sort of ads
|
||||
// Optional URL prefix for links (eg. "http://anonym.to/?")
|
||||
$config['link_prefix'] = '';
|
||||
|
||||
|
||||
// Wordfilters are used to automatically replace certain words/phrases with something else.
|
||||
|
@ -1385,7 +1385,7 @@ function markup_url($matches) {
|
||||
|
||||
$markup_urls[] = $url;
|
||||
|
||||
return '<a target="_blank" rel="nofollow" href="'. $config['url_ads'] . $url . '">' . $url . '</a>' . $after;
|
||||
return '<a target="_blank" rel="nofollow" href="'. $config['link_prefix'] . $url . '">' . $url . '</a>' . $after;
|
||||
}
|
||||
|
||||
function unicodify($body) {
|
||||
|
Loading…
Reference in New Issue
Block a user