Commit e59777b5 authored by Nigel McNie's avatar Nigel McNie
Browse files

Remove DEVMODE_XMLHEADER - we've gone back to HTML.

parent d7f48f9a
......@@ -218,9 +218,6 @@ if (!get_config('searchplugin')) {
}
}
header('Content-type: text/html; charset=UTF-8');
if (get_config('developermode') & DEVMODE_XMLHEADER) {
header('Content-type: application/xhtml+xml; charset=UTF-8');
}
// Only do authentication once we know the page theme, so that the login form
// can have the correct theming.
......
......@@ -104,7 +104,7 @@ $cfg->log_backtrace_levels = LOG_LEVEL_WARN | LOG_LEVEL_ENVIRON;
// These options are a performance hit otherwise, enable when you are
// developing for Mahara
$cfg->developermode = false;
// $cfg->developermode = DEVMODE_DEBUGJS | DEVMODE_DEBUGCSS | DEVMODE_FIREBUGLITE | DEVMODE_UNPACKEDJS | DEVMODE_XMLHEADER;
// $cfg->developermode = DEVMODE_DEBUGJS | DEVMODE_DEBUGCSS | DEVMODE_FIREBUGLITE | DEVMODE_UNPACKEDJS;
// Whether to send e-mail. If set to false, Mahara will not send any e-mail at
// all. This is useful for when setting up development versions of Mahara where
......
......@@ -56,9 +56,7 @@ define('DEVMODE_DEBUGCSS', 2);
define('DEVMODE_FIREBUGLITE', 4);
/** include unpacked mochikit */
define('DEVMODE_UNPACKEDJS', 8);
/** send xhtml header (causes xml parse errors) */
define('DEVMODE_XMLHEADER', 16);
// more here.. start at 32 :)
// more here.. start at 16 :)
/**#@-*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment