mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 11:32:12 +09:00
Add option to apply rel="nofollow" to all user-submitted links
참고: xpressengine/xe-core#2278 정상적인 사이트들 사이의 상호 교류를 저해할 위험이 있으므로 옵션으로 제공하고 기본값은 OFF로 함.
This commit is contained in:
parent
1a2f6e5513
commit
64bc9205ff
7 changed files with 19 additions and 0 deletions
|
|
@ -444,6 +444,7 @@ class adminAdminView extends admin
|
|||
Context::set('use_session_keys', Rhymix\Framework\Config::get('session.use_keys'));
|
||||
Context::set('use_session_ssl', Rhymix\Framework\Config::get('session.use_ssl'));
|
||||
Context::set('use_cookies_ssl', Rhymix\Framework\Config::get('session.use_ssl_cookies'));
|
||||
Context::set('use_nofollow', Rhymix\Framework\Config::get('security.nofollow'));
|
||||
|
||||
$this->setTemplateFile('config_security');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue