We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 78c60561 authored by Sarven Capadisli's avatar Sarven Capadisli

Changed this to action. THANKS zach!

parent 8971a12f
......@@ -188,12 +188,12 @@ class MobileProfilePlugin extends WAP20Plugin
header('Content-Type: '.$type);
$this->extraHeaders();
$action->extraHeaders();
if (preg_match("/.*\/.*xml/", $type)) {
// Required for XML documents
$this->xw->startDocument('1.0', 'UTF-8');
$action->xw->startDocument('1.0', 'UTF-8');
}
$this->xw->writeDTD('html',
$action->xw->writeDTD('html',
'-//WAPFORUM//DTD XHTML Mobile 1.0//EN',
$this->DTD);
......
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