Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
- {
- protected function _iniDoctype()
- {
- $this->bootstrap('view');
- $view = $this->getResource('view');
- $view->doctype('XHTML1_STRICT');
- }
- protected function _initNavigationConfig()
- {
- $this->bootstrap('layout');
- $layout = $this->getResource('layout');
- $view = $layout->getView();
- }
- public function _initRouter()
- {
- $front = Zend_Controller_Front::getInstance();
- $router = $front->getRouter();
- $router->addRoute('profile', new Zend_Controller_Router_Route('profile/:user', array('controller' => 'profile', 'action' => 'index', 'view' => 'index')));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement