openrat-cms

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

commit a52cebabcc60785e40ca304b1497be556a4ba348
parent 714b798ffa661f7f49a1db82b7f5bf83e2c5dc41
Author: dankert <devnull@localhost>
Date:   Thu, 30 Dec 2004 22:44:03 +0100

Subaction-Wechsel speichern

Diffstat:
actionClasses/Action.class.php | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/actionClasses/Action.class.php b/actionClasses/Action.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.12 2004-12-26 21:57:16 dankert +// Revision 1.13 2004-12-30 21:44:03 dankert +// Subaction-Wechsel speichern +// +// Revision 1.12 2004/12/26 21:57:16 dankert // Feststellen, ob Request-Dauer ausgegeben werden soll // // Revision 1.11 2004/12/19 14:40:18 dankert @@ -216,14 +219,12 @@ class Action function callSubAction( $subActionName ) { - //global $conf; - //if ( strtoupper($conf['log']['level']) == 'TRACE' ) - + if ( in_array($this->actionName,array('page','file','link','folder')) ) + Session::setSubaction( $subActionName ); + Logger::trace("next subaction is '$subActionName'"); global $SESS; - - $SESS[ $this->actionName.'action' ] = $subActionName; $this->$subActionName(); }