openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 542e26948f0d8aad4dca06a3ed5fe1c8f08c8336
parent 129c55b1877c53f2c1e0950c403e76324cef334d
Author: Jan Dankert <devnull@localhost>
Date:   Sun,  6 Nov 2011 21:29:38 +0100

Nach Login neue Perspektive setzen.

Diffstat:
action/LoginAction.class.php | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/action/LoginAction.class.php b/action/LoginAction.class.php @@ -747,7 +747,7 @@ class LoginAction extends Action //$this->refresh(); // Benutzer ist angemeldet: Andere Views k├Ânnte das interessieren. $this->updateView('content','start','projectmenu'); - + Session::set('perspective','start'); } @@ -827,6 +827,11 @@ class LoginAction extends Action header('Location: '.$redirect_url); exit; } + else + { + Session::set('perspective','login'); + $this->refresh(); + } }