summaryrefslogtreecommitdiffstats
path: root/test.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-21 07:33:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-21 07:33:35 +0000
commit71f0c05034660f97f92b07f3c39295c861427a47 (patch)
tree82ef87b76013995d1c9e882f01799d4eb8cef068 /test.php
parent42f1115c2ed920d9624f73b64d9c5e1c0df675b2 (diff)
downloadampache-71f0c05034660f97f92b07f3c39295c861427a47.tar.gz
ampache-71f0c05034660f97f92b07f3c39295c861427a47.tar.bz2
ampache-71f0c05034660f97f92b07f3c39295c861427a47.zip
fixed the debug page
Diffstat (limited to 'test.php')
-rw-r--r--test.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/test.php b/test.php
index 0f5a9fc3..6cda42b3 100644
--- a/test.php
+++ b/test.php
@@ -27,17 +27,22 @@ $prefix = dirname(__FILE__);
$configfile = "$prefix/config/ampache.cfg.php";
$row_classes = array('even','odd');
+define('INIT_LOADED','1');
require_once $prefix . '/lib/general.lib.php';
+require_once $prefix . '/lib/log.lib.php';
+require_once $prefix . '/lib/class/config.class.php';
+require_once $prefix . '/lib/class/dba.class.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';
+Dba::_auto_init();
switch ($_REQUEST['action']) {
default:
- require_once $prefix . '/templates/show_test.inc';
+ require_once $prefix . '/templates/show_test.inc.php';
break;
} // end switch on action