Firing a client to an external service in moodle

Re: Firing a client to an external service in moodle

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
In Moodle 1.8, setting debug to DEVELOPER meant that pages were served as XHMTL strict and application/xhtml+xml, which is very good for finding invalid HTML, but breaks some legacy javascript. In Moodle 1.9, debug level, and whether to serve as XHTML are separate settings.

Anyway, you should be able to use debug 'ALL' safely. (Or hack print_header to stop it setting the mime type to application/xhtml+xml in developer debug mode.)