23 lines
361 B
PHP
23 lines
361 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|