43 lines
No EOL
836 B
PHP
43 lines
No EOL
836 B
PHP
<?php
|
|
/**
|
|
* Bootstrap this shit
|
|
*/
|
|
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|
{
|
|
/**
|
|
* Setup view object
|
|
*
|
|
* return Zend_View $view
|
|
*/
|
|
protected function _initView()
|
|
{
|
|
// We really should add something here ?
|
|
$view = new Zend_View();
|
|
|
|
$view->setEncoding('UTF-8');
|
|
|
|
return $view;
|
|
}
|
|
|
|
/**
|
|
* Configure the front controller
|
|
*/
|
|
protected function _initFront()
|
|
{
|
|
// Get front controller
|
|
$frontController = Zend_Controller_Front::getInstance();
|
|
|
|
// Set modules directory
|
|
$frontController->addModuleDirectory(APPLICATION_PATH . '/modules');
|
|
|
|
}
|
|
|
|
/**
|
|
* Setup a sweet and simple database
|
|
* connection
|
|
*/
|
|
protected function _initDatabase()
|
|
{
|
|
// Oh, my!
|
|
}
|
|
} |