summaryrefslogtreecommitdiffstats
path: root/logout.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 16:47:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 16:47:22 +0000
commit472072028560aa178211ae248fc0dad4526533c7 (patch)
tree247111303a40c5e07fad73d10a3b4aff868c7c8d /logout.php
parentb337d84d9af8a7db8e0171c9c0f4bedeae0ef05e (diff)
downloadampache-472072028560aa178211ae248fc0dad4526533c7.tar.gz
ampache-472072028560aa178211ae248fc0dad4526533c7.tar.bz2
ampache-472072028560aa178211ae248fc0dad4526533c7.zip
corrected ajax but introduced with prototype, tweaked how ajax stuff is done, now uses ajax:: class also replaced player with a logout icon
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/logout.php b/logout.php
index eb97ac8b..8855f913 100644
--- a/logout.php
+++ b/logout.php
@@ -1,13 +1,13 @@
<?php
/*
- Copyright (c) 2001 - 2006 Ampache.org
+ Copyright (c) 2001 - 2007 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
+ as published by the Free Software Foundation; version 2
+ of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -24,7 +24,8 @@
* This is the logout page, it kills any cookies you have in your browser kills
* your session in the database and then redirects you to the login page
*/
-require_once('lib/init.php');
+require_once 'lib/init.php';
+
// To end a legitimate session, just call logout.
setcookie("amp_longsess","",null);
logout();