From 4f616f04917437c7c6f1b138f5b5dd4514331935 Mon Sep 17 00:00:00 2001 From: sweetas Date: Tue, 17 Jul 2007 15:11:55 +0000 Subject: [PATCH] replace constants in login redirect --- e107_handlers/login.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_handlers/login.php b/e107_handlers/login.php index 4f2236393..230822110 100644 --- a/e107_handlers/login.php +++ b/e107_handlers/login.php @@ -12,9 +12,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/login.php,v $ -| $Revision: 1.4 $ -| $Date: 2007-05-02 19:47:47 $ -| $Author: e107steved $ +| $Revision: 1.5 $ +| $Date: 2007-07-17 15:11:55 $ +| $Author: sweetas $ +----------------------------------------------------------------------------+ */ @@ -170,7 +170,7 @@ class userlogin { { // We've found the entry of interest if (strlen($fp)) { - $redir = ((strpos($fp, 'http') === FALSE) ? e_BASE : '').$fp; + $redir = ((strpos($fp, 'http') === FALSE) ? e_BASE : '').$tp -> replaceConstants($fp, TRUE, TRUE); if (e_QUERY) $redir .= "?".e_QUERY; // $admin_log->e_log_event(4,__FILE__."|".__FUNCTION__."@".__LINE__,"DBG","Redirect active",$redir,FALSE,FALSE); }