Disable XHTML Content-Type negotiation... You've foiled our plans for the last time!
XHTML mode breaks a lot of JS and has been causing trouble for Safari and Chrome, especially with the fancier new UI-side plugins like realtime and maps.
This commit is contained in:
parent
a7be30857a
commit
979e0a14ae
|
@ -34,9 +34,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||||
|
|
||||||
require_once INSTALLDIR.'/lib/xmloutputter.php';
|
require_once INSTALLDIR.'/lib/xmloutputter.php';
|
||||||
|
|
||||||
define('PAGE_TYPE_PREFS',
|
// Can include XHTML options but these are too fragile in practice.
|
||||||
'text/html,application/xhtml+xml,'.
|
define('PAGE_TYPE_PREFS', 'text/html');
|
||||||
'application/xml;q=0.3,text/xml;q=0.2');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Low-level generator for HTML
|
* Low-level generator for HTML
|
||||||
|
|
Loading…
Reference in New Issue
Block a user