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:
Brion Vibber 2009-11-20 16:34:01 -08:00
parent 7abf48932b
commit 330ddd1d9b

View File

@ -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