summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormomo-i <webmaster@momo-i.org>2011-02-03 10:39:33 +0900
committermomo-i <webmaster@momo-i.org>2011-02-03 10:39:33 +0900
commit0675a7c4afbe4557228e843a4b5b3dccd82de9d5 (patch)
treea0b5c98bc7ab0fb02b2d20db550d9876bd7b9571
parent5da3caed31e7c13a930c5d0f2d15fe3531b7bc0d (diff)
downloadampache-0675a7c4afbe4557228e843a4b5b3dccd82de9d5.tar.gz
ampache-0675a7c4afbe4557228e843a4b5b3dccd82de9d5.tar.bz2
ampache-0675a7c4afbe4557228e843a4b5b3dccd82de9d5.zip
Modified forgot
-rw-r--r--info.php35
-rw-r--r--login.php49
-rw-r--r--logout.php48
3 files changed, 93 insertions, 39 deletions
diff --git a/info.php b/info.php
index 147cebcd..f757810a 100644
--- a/info.php
+++ b/info.php
@@ -1 +1,34 @@
-<?php phpinfo(); ?>
+<?php
+/**
+ * PHPInfo
+ *
+ * PHP version 5
+ *
+ * LICENSE: GNU General Public License, version 2 (GPLv2)
+ * Copyright (c) 2001 - 2011 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 v2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * @category PHPInfo
+ * @package Files
+ * @author Karl Vollmer <vollmer@ampache.org>
+ * @copyright 2001 - 2011 Ampache.org
+ * @license http://opensource.org/licenses/gpl-2.0 GPLv2
+ * @version PHP 5.2
+ * @link http://www.ampache.org/
+ * @since File available since Release 1.0
+ */
+
+phpinfo();
+?>
diff --git a/login.php b/login.php
index b2df3237..6dae57ff 100644
--- a/login.php
+++ b/login.php
@@ -1,24 +1,35 @@
<?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
-/*
-
- Copyright (c) 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 v2
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
+/**
+ * Login
+ *
+ * PHP version 5
+ *
+ * LICENSE: GNU General Public License, version 2 (GPLv2)
+ * Copyright (c) 2001 - 2011 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 v2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * @category Login
+ * @package Files
+ * @author Karl Vollmer <vollmer@ampache.org>
+ * @copyright 2001 - 2011 Ampache.org
+ * @license http://opensource.org/licenses/gpl-2.0 GPLv2
+ * @version PHP 5.2
+ * @link http://www.ampache.org/
+ * @since File available since Release 1.0
+ */
define('NO_SESSION', '1');
require_once 'lib/init.php';
diff --git a/logout.php b/logout.php
index 408465dd..4df08104 100644
--- a/logout.php
+++ b/logout.php
@@ -1,29 +1,39 @@
<?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
-/*
-
- Copyright (c) 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 v2
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
/**
* Logout
+ *
* 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
+ *
+ * PHP version 5
+ *
+ * LICENSE: GNU General Public License, version 2 (GPLv2)
+ * Copyright (c) 2001 - 2011 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 v2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * @category Logout
+ * @package Files
+ * @author Karl Vollmer <vollmer@ampache.org>
+ * @copyright 2001 - 2011 Ampache.org
+ * @license http://opensource.org/licenses/gpl-2.0 GPLv2
+ * @version PHP 5.2
+ * @link http://www.ampache.org/
+ * @since File available since Release 1.0
*/
+
require_once 'lib/init.php';
// To end a legitimate session, just call logout.