openrat-cms

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

commit 7f0033db65ab6c341898e32fc0935ccdb878bcba
parent 567b4e8074fea57e8af304ef9c5760de5644d677
Author: dankert <devnull@localhost>
Date:   Wed,  2 Dec 2009 00:48:03 +0100

Zu Beginn der Sitzung DB-Transaktion starten.

Diffstat:
do.php | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/do.php b/do.php @@ -198,8 +198,10 @@ if ( is_object( $db ) ) Http::sendStatus('503','Service Unavailable','Database is not available: '.$db->error); Session::setDatabase( $db ); + $db->start(); } - + + if ( !empty($REQ[REQ_PARAM_ACTION]) ) $action = $REQ[REQ_PARAM_ACTION]; else $action = 'index'; @@ -362,6 +364,7 @@ if ( isset($do->actionConfig[$do->subActionName]['goto']) ) } $do->setMenu(); // Menue erzeugen + $do->forward(); // Anzeige rendern // fertig :)