Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| revision 688, Fri Sep 8 18:21:44 2006 UTC | revision 722, Wed Sep 20 09:54:16 2006 UTC | |
|---|---|---|
| # | Line 564 | Line 564 |
| 564 | require_once($this->rootPath().'/includes/authenticator.php'); | require_once($this->rootPath().'/includes/authenticator.php'); |
| 565 | $authenticator =& mamboAuthenticator::getInstance(); | $authenticator =& mamboAuthenticator::getInstance(); |
| 566 | $loggedin = $authenticator->loginUser(); | $loggedin = $authenticator->loginUser(); |
| 567 | if ($loggedin) $this->logMessage(_LOGIN_SUCCESS); | if ($loggedin) $this->logMessage('_LOGIN_SUCCESS'); |
| 568 | else mamboCore::redirect('index.php'); | else mamboCore::redirect('index.php'); |
| 569 | } | } |
| 570 | ||
| # | Line 576 | Line 576 |
| 576 | require_once($this->rootPath().'/includes/authenticator.php'); | require_once($this->rootPath().'/includes/authenticator.php'); |
| 577 | $authenticator =& mamboAuthenticator::getInstance(); | $authenticator =& mamboAuthenticator::getInstance(); |
| 578 | $authenticator->logoutUser(); | $authenticator->logoutUser(); |
| 579 | $this->logMessage(_LOGOUT_SUCCESS); | $this->logMessage('_LOGOUT_SUCCESS'); |
| 580 | } | } |
| 581 | ||
| 582 | /** | /** |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

