summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/IndexController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/IndexController.php')
-rw-r--r--application/modules/user/controllers/IndexController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/controllers/IndexController.php b/application/modules/user/controllers/IndexController.php
index f795b16..1e15768 100644
--- a/application/modules/user/controllers/IndexController.php
+++ b/application/modules/user/controllers/IndexController.php
@@ -9,6 +9,7 @@ class User_IndexController extends Zend_Controller_Action
public function indexAction()
{
+
if (!Zend_Auth::getInstance()->hasIdentity()) {
$this->view->text = 'Your not logged in, please log in first <a href="/user/auth/">here</a>.';
}
@@ -20,8 +21,9 @@ class User_IndexController extends Zend_Controller_Action
'/user/config' => 'Create your own Configuration',
'/user/bootmenu' => 'Create your Bootmenu',
);
+ $this->view->links = $links;
}
- $this->view->links = $links;
+
}