23 lines
361 B
PHP
Raw Normal View History

2012-02-02 17:29:14 +00:00
<?php
Class IndexController extends Libs_Controller
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
if ($user->customisation) {
$this->view->assign('preferences', $user->customisation);
}
}
}