diff --git a/albums.php b/albums.php index a976ffbe..f4bc1d0f 100644 --- a/albums.php +++ b/albums.php @@ -1,24 +1,35 @@ + * @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'; diff --git a/artists.php b/artists.php index c811e855..f4e611f0 100644 --- a/artists.php +++ b/artists.php @@ -1,24 +1,35 @@ + * @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'; diff --git a/batch.php b/batch.php index 5256c2da..427a726e 100644 --- a/batch.php +++ b/batch.php @@ -1,24 +1,35 @@ + * @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'; ob_end_clean(); diff --git a/browse.php b/browse.php index c56e5608..91f6e30a 100644 --- a/browse.php +++ b/browse.php @@ -1,24 +1,35 @@ + * @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 + */ /** * diff --git a/democratic.php b/democratic.php index 41c50e6d..fb909a45 100644 --- a/democratic.php +++ b/democratic.php @@ -1,24 +1,35 @@ + * @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'; diff --git a/flag.php b/flag.php index da71c4cc..aac13166 100644 --- a/flag.php +++ b/flag.php @@ -1,31 +1,41 @@ + * @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 + */ /** * Flag Document * This is called for all of our flagging needs */ - require_once('lib/init.php'); show_template('header'); diff --git a/image.php b/image.php index 19dd2959..864ad04e 100644 --- a/image.php +++ b/image.php @@ -1,24 +1,36 @@ + * @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 + */ - 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. - -*/ /** * Album Art * This pulls album art out of the file using the getid3 library diff --git a/index.php b/index.php index 11fa384a..9c4b2799 100644 --- a/index.php +++ b/index.php @@ -1,24 +1,35 @@ + * @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'; diff --git a/install.php b/install.php index 5143f906..49e90513 100644 --- a/install.php +++ b/install.php @@ -1,24 +1,35 @@ + * @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 + */ // Set the Error level manualy... I'm to lazy to fix notices error_reporting(E_ALL ^ E_NOTICE); @@ -55,8 +66,10 @@ if (!install_check_status($configfile)) { exit; } -// Define that we are doing an install so the includes will work define('INSTALL','1'); +/** + * @ignore + */ define('INIT_LOADED','1'); /* Clean up incomming variables */ diff --git a/localplay.php b/localplay.php index 9bc22c3a..d9958c77 100644 --- a/localplay.php +++ b/localplay.php @@ -1,24 +1,35 @@ + * @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 'lib/init.php'; diff --git a/lostpassword.php b/lostpassword.php index 0daa9df6..736f26c8 100644 --- a/lostpassword.php +++ b/lostpassword.php @@ -1,24 +1,35 @@ + * @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/modules/flash/xspf_player.php b/modules/flash/xspf_player.php index c6228fdb..497dabaa 100644 --- a/modules/flash/xspf_player.php +++ b/modules/flash/xspf_player.php @@ -1,24 +1,35 @@ + * @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'; diff --git a/modules/httpq/httpqplayer.class.php b/modules/httpq/httpqplayer.class.php index df8f9d66..e4a00e14 100644 --- a/modules/httpq/httpqplayer.class.php +++ b/modules/httpq/httpqplayer.class.php @@ -1,6 +1,6 @@ + * @author Chris Slamar + * @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 + */ - 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. - - * Adapted for Ampache by Chris Slamar * - -*/ require_once '../../lib/init.php'; require_once( Config::get('prefix') . "/modules/twitter/twitteroauth/twitteroauth.php"); session_start(); diff --git a/modules/twitter/twitter_update.php b/modules/twitter/twitter_update.php index 4913bc03..78afa041 100644 --- a/modules/twitter/twitter_update.php +++ b/modules/twitter/twitter_update.php @@ -1,25 +1,38 @@ + * @author Chris Slamar + * @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 + */ - 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. - - * Adapted for Ampache by Chris Slamar * - -*/ require_once '../../lib/init.php'; require_once( Config::get('prefix') . "/modules/twitter/twitteroauth/twitteroauth.php"); session_start(); diff --git a/modules/twitter/twitter_works.php b/modules/twitter/twitter_works.php index e8cfc231..a75e0f47 100644 --- a/modules/twitter/twitter_works.php +++ b/modules/twitter/twitter_works.php @@ -1,25 +1,38 @@ + * @author Chris Slamar + * @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 + */ - 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. - - * Adapted for Ampache by Chris Slamar * - -*/ require_once '../../lib/init.php'; require_once( Config::get('prefix') . "/modules/twitter/twitteroauth/twitteroauth.php"); diff --git a/modules/vlc/vlcplayer.class.php b/modules/vlc/vlcplayer.class.php index f6f9b921..998243f6 100644 --- a/modules/vlc/vlcplayer.class.php +++ b/modules/vlc/vlcplayer.class.php @@ -1,6 +1,6 @@ + * @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 + */ - 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. - -*/ /* This is the wrapper for opening music streams from this server. This script diff --git a/playlist.php b/playlist.php index db68c8b0..016b2a55 100644 --- a/playlist.php +++ b/playlist.php @@ -1,28 +1,36 @@ + * @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'; diff --git a/preferences.php b/preferences.php index 330bd66b..e5be9746 100644 --- a/preferences.php +++ b/preferences.php @@ -1,24 +1,35 @@ + * @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 'lib/init.php'; diff --git a/radio.php b/radio.php index 41192078..f1823ae8 100644 --- a/radio.php +++ b/radio.php @@ -1,24 +1,35 @@ + * @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 'lib/init.php'; diff --git a/random.php b/random.php index 5c2a89d8..841b333b 100644 --- a/random.php +++ b/random.php @@ -1,25 +1,35 @@ + * @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'; diff --git a/register.php b/register.php index 80bfed64..929aa470 100644 --- a/register.php +++ b/register.php @@ -1,24 +1,35 @@ + * @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/rss.php b/rss.php index c480c0ec..2ce15c17 100644 --- a/rss.php +++ b/rss.php @@ -1,24 +1,35 @@ + * @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 'lib/init.php'; diff --git a/search.php b/search.php index 419e6740..56e6ad94 100644 --- a/search.php +++ b/search.php @@ -1,24 +1,35 @@ + * @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'; diff --git a/shout.php b/shout.php index fa53879b..dd5ad94b 100644 --- a/shout.php +++ b/shout.php @@ -1,24 +1,36 @@ + * @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 + */ - 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. - -*/ require_once 'lib/init.php'; show_header(); diff --git a/song.php b/song.php index a25e989e..793da8ac 100644 --- a/song.php +++ b/song.php @@ -1,24 +1,35 @@ + * @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 'lib/init.php'; diff --git a/stats.php b/stats.php index 7cf6f4cb..55579f1b 100644 --- a/stats.php +++ b/stats.php @@ -1,28 +1,38 @@ + * @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 + */ - 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. - -*/ - -/* - Show us the stats for the server and this user -*/ require_once 'lib/init.php'; show_header(); diff --git a/stream.php b/stream.php index b75fffc3..ce0e98e1 100644 --- a/stream.php +++ b/stream.php @@ -1,24 +1,36 @@ + * @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 + */ - 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. - -*/ require_once 'lib/init.php'; /* If we are running a demo, quick while you still can! */ diff --git a/test.php b/test.php index c8a5ee75..b2d34eec 100644 --- a/test.php +++ b/test.php @@ -1,24 +1,35 @@ + * @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 + */ // Set the Error level manualy... I'm to lazy to fix notices error_reporting(0); diff --git a/update.php b/update.php index 33361fdc..05acc5e9 100644 --- a/update.php +++ b/update.php @@ -1,24 +1,36 @@ + * @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 + */ - 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. - -*/ // We need this stuff define('NO_SESSION','1'); require 'lib/init.php'; diff --git a/util.php b/util.php index c2031993..437fd848 100644 --- a/util.php +++ b/util.php @@ -1,24 +1,36 @@ + * @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 + */ - 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. - -*/ require_once 'lib/init.php'; header("Expires: Tuesday, 27 Mar 1984 05:00:00 GMT");