Verzeichnisstruktur phpBB-1.0.0


Veröffentlicht
15.12.2000

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

logout.php

Zuletzt modifiziert: 09.10.2024, 12:50 - Dateigröße: 1.44 KiB


01  <?php
02  /***************************************************************************
03                            logout.php  -  description
04                               -------------------
05      begin                : Wed June 19 2000
06      copyright            : (C) 2000 by James Atkinson
07      email                : james@totalgeek.org
08   
09      $Id: logout.php,v 1.6 2000/11/15 04:57:15 thefinn Exp $
10   
11   ***************************************************************************/
12   
13  /***************************************************************************
14   *                                                                                         
15   *   This program is free software; you can redistribute it and/or modify      
16   *   it under the terms of the GNU General Public License as published by  
17   *   the Free Software Foundation; either version 2 of the License, or            
18   *   (at your option) any later version.
19   *
20   ***************************************************************************/
21   
22  /**
23   * logout.php - Nathan Codding
24   * - Used for logging out a user and deleting a session.
25   */
26  include('extention.inc');
27  include('functions.'.$phpEx);
28  include('config.'.$phpEx);
29  require('auth.'.$phpEx);
30  $pagetitle = "Logout";
31  $pagetype = "logout";
32   
33  /* Note: page_header.php is included later on, because this page needs to be able to send a cookie. */
34   
35  if ($user_logged_in) {
36      end_user_session($userdata[user_id], $db);
37  }
38   
39      header("Location: $url_phpbb");
40  require('page_tail.'.$phpEx);
41  ?>
42