summaryrefslogtreecommitdiffstats
path: root/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'test.php')
-rw-r--r--test.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/test.php b/test.php
index 044fff2a..c8a5ee75 100644
--- a/test.php
+++ b/test.php
@@ -27,33 +27,33 @@ $prefix = dirname(__FILE__);
$configfile = "$prefix/config/ampache.cfg.php";
$row_classes = array('even','odd');
-define('INIT_LOADED','1');
+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/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();
+Dba::_auto_init();
-switch ($_REQUEST['action']) {
- case 'config':
+switch ($_REQUEST['action']) {
+ case 'config':
$configfile = "$prefix/config/ampache.cfg.php";
// On every load of the config file check and see if it's working now
if (count(parse_ini_file($configfile))) {
- require_once $prefix . '/templates/show_test.inc.php';
- break;
- }
- require_once $prefix . '/templates/show_test_config.inc.php';
+ require_once $prefix . '/templates/show_test.inc.php';
+ break;
+ }
+ require_once $prefix . '/templates/show_test_config.inc.php';
break;
default:
require_once $prefix . '/templates/show_test.inc.php';
break;
} // end switch on action
-?>
+?>