This commit is contained in:
Michael RICOIS 2012-11-21 14:21:54 +00:00
parent 353da52a47
commit e191a62e7c

View File

@ -10,7 +10,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
$view->doctype('XHTML1_STRICT');
$view->headMeta()
->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8')
->appendHttpEquiv('Content-Language', 'fr-FR');
->appendHttpEquiv('Content-Language', 'fr-FR');
$view->headTitle()->setSeparator(' - ');
$view->headLink()
@ -43,7 +43,13 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
//Initialisation global des paramètres de log
protected function _initLogging()
{
//Firebug
$writer = new Zend_Log_Writer_Firebug();
if(APPLICATION_ENV=='production') {
$writer->setEnabled(false);
}
$logger = new Zend_Log($writer);
Zend_Registry::set('firebug', $logger);
}
protected function _initCache()
@ -57,7 +63,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
$cache = Zend_Cache::factory('Core','Apc', $frontendOptions, $backendOptions);
Zend_Db_Table_Abstract::setDefaultMetadataCache($cache);
//Cache pour les données de la base à stocker
}
//Cache pour les données de la base à stocker
}
}