linkify by default #236
This commit is contained in:
parent
fbd081ecc5
commit
916fb82d65
|
@ -94,6 +94,9 @@ class QvitterPlugin extends Plugin {
|
|||
// IP ADDRESSES BLOCKED FROM REGISTRATION
|
||||
$settings['blocked_ips'] = array();
|
||||
|
||||
// LINKIFY DOMAINS WITHOUT PROTOCOL AS DEFAULT
|
||||
$settings['linkify_bare_domains'] = true;
|
||||
|
||||
|
||||
/* · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
|
||||
· ·
|
||||
|
@ -109,6 +112,9 @@ class QvitterPlugin extends Plugin {
|
|||
$settings[$configphpsetting] = $value;
|
||||
}
|
||||
|
||||
// set linkify setting
|
||||
common_config_set('linkify', 'bare_domains', $settings['linkify_bare_domains']);
|
||||
|
||||
if(isset($settings[$setting])) {
|
||||
return $settings[$setting];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user