mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
it technically logs in and streams.. but thats it, complete rewrite almost everything broken
This commit is contained in:
parent
8b27d66add
commit
a31560aec4
199 changed files with 30445 additions and 33070 deletions
28
test.php
28
test.php
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/*
|
||||
|
||||
Copyright 2001 - 2006 Ampache.org
|
||||
Copyright 2001 - 2007 Ampache.org
|
||||
All Rights Reserved
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
|
@ -19,34 +19,26 @@
|
|||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
// Set the Error level manualy... I'm to lazy to fix notices
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
|
||||
$prefix = dirname(__FILE__);
|
||||
$configfile = "$prefix/config/ampache.cfg.php";
|
||||
$row_classes = array('even','odd');
|
||||
|
||||
|
||||
require_once($prefix . "/lib/general.lib.php");
|
||||
require_once($prefix . "/lib/ui.lib.php");
|
||||
require_once($prefix . "/lib/class/error.class.php");
|
||||
$error = new error();
|
||||
require_once($prefix . "/lib/debug.lib.php");
|
||||
|
||||
require_once $prefix . '/lib/general.lib.php';
|
||||
require_once $prefix . '/lib/ui.lib.php';
|
||||
require_once $prefix . '/lib/class/error.class.php';
|
||||
require_once $prefix . '/lib/class/config.class.php';
|
||||
require_once $prefix . '/lib/debug.lib.php';
|
||||
|
||||
|
||||
switch ($_REQUEST['action']) {
|
||||
|
||||
case 'verify_config':
|
||||
// This reads the ampache.cfg and compares the potential options against
|
||||
// those in ampache.cfg.dst
|
||||
show_compare_config($prefix);
|
||||
break;
|
||||
default:
|
||||
require_once($prefix . "/templates/show_test.inc");
|
||||
break;
|
||||
require_once $prefix . '/templates/show_test.inc';
|
||||
break;
|
||||
} // end switch on action
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue