mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Disable ContentNegotiator in CMS (fixes #1850)
This commit is contained in:
parent
5d9cbae949
commit
e5d3a1da6b
@ -197,6 +197,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
|||||||
parent::init();
|
parent::init();
|
||||||
|
|
||||||
Config::inst()->update('SSViewer', 'rewrite_hash_links', false);
|
Config::inst()->update('SSViewer', 'rewrite_hash_links', false);
|
||||||
|
Config::inst()->update('ContentNegotiator', 'enabled', false);
|
||||||
|
|
||||||
// set language
|
// set language
|
||||||
$member = Member::currentUser();
|
$member = Member::currentUser();
|
||||||
|
Loading…
Reference in New Issue
Block a user