diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-04-23 07:31:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-04-23 07:31:05 +0000 |
commit | a31560aec4f004e58930277758f5412d86c62adc (patch) | |
tree | 845ff6947d26b22a0f4527901dbefc97bca89d78 /test.php | |
parent | 8b27d66add7ca9ba57d7e9488612cb54be4b11c1 (diff) | |
download | ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.gz ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.bz2 ampache-a31560aec4f004e58930277758f5412d86c62adc.zip |
it technically logs in and streams.. but thats it, complete rewrite almost everything broken
Diffstat (limited to 'test.php')
-rw-r--r-- | test.php | 28 |
1 files changed, 10 insertions, 18 deletions
@@ -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 - - ?> |