Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
- {
- /**
- * Set the default application timezone
- *
- * @return void
- */
- protected function _initTimezone()
- {
- date_default_timezone_set('Europe/Rome');
- }
- /**
- * Bootstrap autoloader for application resources
- *
- * @return Zend_Application_Module_Autoloader
- */
- protected function _initAutoload()
- {
- $autoloader = new Zend_Application_Module_Autoloader(array(
- 'namespace' => 'Default',
- 'basePath' => dirname(__FILE__),
- ));
- return $autoloader;
- }
- /**
- * Bootstrap the view doctype
- *
- * @return void
- */
- protected function _initDoctype()
- {
- $this->bootstrap('view');
- $view = $this->getResource('view');
- $view->doctype('XHTML1_STRICT');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement