From fca04a6dab252eb9e8c0a92ce3b7e14b32e68d1e Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 11 Jan 2012 14:36:35 +0100 Subject: format source files --- application/modules/user/Bootstrap.php | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'application/modules/user/Bootstrap.php') diff --git a/application/modules/user/Bootstrap.php b/application/modules/user/Bootstrap.php index 2537ee0..a80ceac 100644 --- a/application/modules/user/Bootstrap.php +++ b/application/modules/user/Bootstrap.php @@ -1,4 +1,4 @@ -bootstrap('layout'); - - $layout = $this->getResource('layout'); - $view = $layout->getView(); - $view->headLink()->appendStylesheet('/media/css/user.css'); - } +class user_Bootstrap extends Zend_Application_Module_Bootstrap { + function _initViewHelpers() { + $this->bootstrap('layout'); + + $layout = $this->getResource('layout'); + $view = $layout->getView(); + $view->headLink()->appendStylesheet('/media/css/user.css'); + } } -- cgit v1.2.3-55-g7522