Evening all
I am working my way through Zend Framework 1.x, and seem to have an issue.
I am trying to set the doctype()
to HTML5:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
protected function __initDoctype() {
$this->bootstrap('view');
$view = $this->getResources('view');
$view->doctype('HTML5');
}
}
I have check the documentation and using doctype('HTML5')
seems to be correct, but my output keeps showing others.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">