openrat-cms

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

commit 30aa6e18f34b8d559bd7b33994ce74c87b183702
parent 3c32e6ba742325b977de442981f77d9d035d2306
Author: dankert <devnull@localhost>
Date:   Mon, 18 May 2009 21:34:21 +0200

Vor Einlesen der Konfiguration die Sitzung leeren.

Diffstat:
do.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/do.php b/do.php @@ -94,6 +94,9 @@ $conf = Session::getConfig(); // aus Datei lesen. if ( !is_array( $conf ) || isset($REQ['reload']) ) { + // Da die Konfiguration neu eingelesen wird, sollten wir auch die Sitzung komplett leeren. + session_unset(); + $prefs = new Preferences(); $conf = $prefs->load(); $conf['action'] = $prefs->load(OR_ACTIONCLASSES_DIR);