openrat-cms

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

commit 0ee5a07e193d784a7cf5a64eab5fd60e2c57eedb
parent b4bfc9107c68ffca9ca837fc3d92a33010441f8e
Author: dankert <devnull@localhost>
Date:   Fri,  6 Apr 2007 00:40:34 +0200

Bei Abbruch im Kontroller auch Logmeldung schreiben.

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

diff --git a/do.php b/do.php @@ -194,7 +194,10 @@ if ( $subaction == '' ) $subaction = $do->actionConfig['default']['goto']; if ( !isset($do->actionConfig[$subaction]) ) +{ + Logger::warn( "Action $action has no configured method named $subaction"); die( "Action $action has no configured method named $subaction"); +} Logger::trace("controller is calling subaction '$subaction'");