openrat-cms

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

commit 0f13ed4d57aa4807253dca8ac9639832ac81dbad
parent 4dfdf3ae74fbdaac7c896382f3142efd270a32f2
Author: dankert <devnull@localhost>
Date:   Sat,  1 Dec 2007 19:07:08 +0100

Konfiguration f?r: Wenn nach Login keine Objekt-Id feststeht, dann das zuletzt ge?nderte Objekt benutzen.

Diffstat:
actionClasses/IndexAction.class.php | 2+-
config/login.ini.php | 7+++++++
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/actionClasses/IndexAction.class.php b/actionClasses/IndexAction.class.php @@ -649,7 +649,7 @@ class IndexAction extends Action $object = Session::getObject(); // Falls noch kein Objekt ausgewählt, dann das zuletzt geänderte benutzen. - if ( !is_object($object) ) + if ( !is_object($object) && @$conf['login']['start']['start_lastchanged_object'] ) { $objectid = Value::getLastChangedObjectByUserId($user->userid); if ( Object::available($objectid)) diff --git a/config/login.ini.php b/config/login.ini.php @@ -11,3 +11,9 @@ url="http://www.gnu.org/copyleft/gpl.html" [logo] file="./themes/default/images/logo.jpg" ; logo (url to image) in login mask url="http://www.openrat.de" ; linked url in login mask + + +[start] +; After Login, start with the last changed object. +; If 'true', the project menu is not displayed. +start_lastchanged_object=true+ \ No newline at end of file