Archived
1
0
Fork 0

Setup doctype in bootstrap instead of layout.

This commit is contained in:
Henrik Hautakoski 2010-11-16 19:20:49 +01:00
parent 3bc1f62535
commit 2408ff06dd
3 changed files with 5 additions and 5 deletions

View file

@ -63,12 +63,14 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
$this->bootstrap('layout');
$view = $this->getResource('layout')->getView();
$view->doctype('XHTML1_STRICT');
$view->setEncoding('UTF-8');
$view->headMeta()->appendHttpEquiv('Content-Type','text/html;charset=utf-8');
// Set site title from application.ini
$config = $this->getApplication()->getOptions();
$view->headTitle($config['app']['name']);
$view->headMeta()->appendHttpEquiv('Content-Type','text/html;charset=utf-8');
// Set helper path
$view->addHelperPath('Fiktiv/View/Helper/', 'Fiktiv_View_Helper');