X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=application%2Fcontrollers%2FAccountController.php;h=76124908d504b90645d13658f53b87f5d9f0a7e1;hb=3ff82e2d9fa289beba4e965b82772cf83f905b2f;hp=97f9fbc649d6a1250981ec3f502c1f50b7a49d6b;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/controllers/AccountController.php b/application/controllers/AccountController.php index 97f9fbc..7612490 100644 --- a/application/controllers/AccountController.php +++ b/application/controllers/AccountController.php @@ -7,7 +7,7 @@ class AccountController extends Zend_Controller_Action public function init() { $this->view->headScript()->appendFile('js/prototype.js'); - $this->view->headScript()->appendFile('js/forms.js'); + $this->view->headScript()->appendFile('js/utils.js'); $this->view->headScript()->appendFile('js/account.js'); $this->view->headLink()->appendStylesheet('css/generic.css'); $this->view->headLink()->appendStylesheet('css/account.css'); @@ -15,7 +15,7 @@ class AccountController extends Zend_Controller_Action } public function indexAction() { - $user = $this->view->loggedUser(); + $user = $this->_helper->SyjSession->user(); $request = $this->getRequest(); if ($user === null) {