diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-21 07:33:35 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-21 07:33:35 +0000 |
commit | 71f0c05034660f97f92b07f3c39295c861427a47 (patch) | |
tree | 82ef87b76013995d1c9e882f01799d4eb8cef068 /test.php | |
parent | 42f1115c2ed920d9624f73b64d9c5e1c0df675b2 (diff) | |
download | ampache-71f0c05034660f97f92b07f3c39295c861427a47.tar.gz ampache-71f0c05034660f97f92b07f3c39295c861427a47.tar.bz2 ampache-71f0c05034660f97f92b07f3c39295c861427a47.zip |
fixed the debug page
Diffstat (limited to 'test.php')
-rw-r--r-- | test.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |