X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FAccountController.php;h=76124908d504b90645d13658f53b87f5d9f0a7e1;hb=a64d41557a62ec6051d7fa08d1ba941e089aa5c2;hp=00de24e14940b121fbea0ec7529e00443696673f;hpb=9efd079d59d269811abc4c551b2f39ab2e6a05fb;p=syj.git diff --git a/application/controllers/AccountController.php b/application/controllers/AccountController.php index 00de24e..7612490 100644 --- a/application/controllers/AccountController.php +++ b/application/controllers/AccountController.php @@ -7,8 +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/highlight.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'); @@ -16,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) {