Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| revision 937, Wed Jan 31 21:05:48 2007 UTC | revision 938, Wed Jan 31 21:36:43 2007 UTC | |
|---|---|---|
| # | Line 573 | Line 573 |
| 573 | require_once($this->rootPath().'/includes/authenticator.php'); | require_once($this->rootPath().'/includes/authenticator.php'); |
| 574 | $authenticator =& mamboAuthenticator::getInstance(); | $authenticator =& mamboAuthenticator::getInstance(); |
| 575 | $loggedin = $authenticator->loginUser(); | $loggedin = $authenticator->loginUser(); |
| 576 | if ($loggedin) $this->logMessage('_LOGIN_SUCCESS'); | if ($loggedin) $this->logMessage(T_('You have Logged In succesfully')); |
| 577 | else mamboCore::redirect('index.php'); | else mamboCore::redirect('index.php'); |
| 578 | } | } |
| 579 | ||
| # | Line 585 | Line 585 |
| 585 | require_once($this->rootPath().'/includes/authenticator.php'); | require_once($this->rootPath().'/includes/authenticator.php'); |
| 586 | $authenticator =& mamboAuthenticator::getInstance(); | $authenticator =& mamboAuthenticator::getInstance(); |
| 587 | $authenticator->logoutUser(); | $authenticator->logoutUser(); |
| 588 | $this->logMessage('_LOGOUT_SUCCESS'); | $this->logMessage(T_('You have Logged Out successfully')); |
| 589 | } | } |
| 590 | ||
| 591 | /** | /** |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

