Commit a3eedc008f628e82211666d7f93d8e55f1331125
1 parent
aabfd1bd
updated phpdoc and moved require
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2199 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
7 deletions
presentation/logout.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | -// main library routines and defaults | ||
| 4 | -require_once("../config/dmsDefaults.php"); | ||
| 5 | - | ||
| 6 | /** | 3 | /** |
| 7 | * $Id$ | 4 | * $Id$ |
| 8 | * | 5 | * |
| 9 | - * Logout page -- this page controls the web application by responding to a set of | ||
| 10 | - * defined actions. The controller performs session handling, page-level | ||
| 11 | - * authentication and forwards the request to the appropriate handling | ||
| 12 | - * page. | 6 | + * This page logs the current user out of the system. |
| 13 | * | 7 | * |
| 14 | * Licensed under the GNU GPL. For full terms see the file COPYING. | 8 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 15 | * | 9 | * |
| @@ -18,6 +12,9 @@ require_once("../config/dmsDefaults.php"); | @@ -18,6 +12,9 @@ require_once("../config/dmsDefaults.php"); | ||
| 18 | * @package presentation | 12 | * @package presentation |
| 19 | */ | 13 | */ |
| 20 | 14 | ||
| 15 | +// main library routines and defaults | ||
| 16 | +require_once("../config/dmsDefaults.php"); | ||
| 17 | + | ||
| 21 | // logout | 18 | // logout |
| 22 | $oAuth = new $default->authenticationClass; | 19 | $oAuth = new $default->authenticationClass; |
| 23 | $oAuth->logout(); | 20 | $oAuth->logout(); |