Changed this to action. THANKS zach!
This commit is contained in:
parent
8971a12f89
commit
78c6056133
|
@ -188,12 +188,12 @@ class MobileProfilePlugin extends WAP20Plugin
|
||||||
|
|
||||||
header('Content-Type: '.$type);
|
header('Content-Type: '.$type);
|
||||||
|
|
||||||
$this->extraHeaders();
|
$action->extraHeaders();
|
||||||
if (preg_match("/.*\/.*xml/", $type)) {
|
if (preg_match("/.*\/.*xml/", $type)) {
|
||||||
// Required for XML documents
|
// 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',
|
'-//WAPFORUM//DTD XHTML Mobile 1.0//EN',
|
||||||
$this->DTD);
|
$this->DTD);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user