Commit d25cdc59fecf858f27f7930f081d1b917fbb499e

Authored by nbm
1 parent eb0d1d6d

Add simple redirectToMain as a shortcut.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3537 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 4 additions and 0 deletions
lib/dispatcher.inc.php
... ... @@ -49,6 +49,10 @@ class KTDispatcher {
49 49 return $this->errorRedirectTo('main', $error_message, $sQuery);
50 50 }
51 51  
  52 + function redirectToMain($sQuery = "") {
  53 + return $this->redirectTo('main', $sQuery);
  54 + }
  55 +
52 56 function handleOutput($sOutput) {
53 57 print $sOutput;
54 58 }
... ...