mkoh.net beta!

Source

Source for: 'application/Bootstrap.php'


<?php
/**
 * Application bootstrap file
 * 
 * @category MkohNet
 * @package MVC
 * @subpackage bootstrap
 * @author $Author: mkoh $
 * @version $Revision: 297 $
 * @copyright Copyright (c) 2009, Mikko Hämäläinen
 */
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	/**
	 * Generic initializations, should be run before loading other plugins
	 */
	protected function _initAutoloader()
	{
		#$this->bootstrap("Locale");
        Zend_Loader_Autoloader::getInstance()->setFallbackAutoloader(true); // for models (without namespaces)
	}
	
	protected function _initDocType()
	{
		$this->bootstrap('view');
		$view = $this->getResource('view');
		$view->doctype('XHTML1_TRANSITIONAL');
	}
}

Comments

No comments, why not write one?

Add a comment

 __   _      ___      _____    _    _               _____   
| || | ||   / _ \\   /  ___|| | || | ||   ____     |  ___|| 
| '--' ||  / //\ \\ | // __   | || | ||  |    \\   | ||__   
| .--. || |  ___  ||| \\_\ || | \\_/ ||  | [] ||   | ||__   
|_|| |_|| |_||  |_|| \____//   \____//   |  __//   |_____|| 
`-`  `-`  `-`   `-`   `---`     `---`    |_|`-`    `-----`  
                                         `-`