summaryrefslogtreecommitdiffstats
path: root/templates/show_install_config.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-08 05:08:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-08 05:08:21 +0000
commit2a83cc96dc9c2588c5f3ad02d73c59f2ab19c58b (patch)
treec6aee35e8c830125d9fe109c92ffab20ff31c6ac /templates/show_install_config.inc.php
parent2799c89f58d389ac659c0bc414a86cb1454afd75 (diff)
downloadampache-2a83cc96dc9c2588c5f3ad02d73c59f2ab19c58b.tar.gz
ampache-2a83cc96dc9c2588c5f3ad02d73c59f2ab19c58b.tar.bz2
ampache-2a83cc96dc9c2588c5f3ad02d73c59f2ab19c58b.zip
more work for alpha2 release, clean up install and debug a bit
Diffstat (limited to 'templates/show_install_config.inc.php')
-rw-r--r--templates/show_install_config.inc.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/templates/show_install_config.inc.php b/templates/show_install_config.inc.php
index 7586cf9b..080ee358 100644
--- a/templates/show_install_config.inc.php
+++ b/templates/show_install_config.inc.php
@@ -92,12 +92,10 @@ if (INSTALL != '1') { exit; }
<td>[
<?php
if (!is_readable($configfile)) {
- $status['read_config'] = 'false';
- echo " <span class=\"notok\">ERROR</span> ";
+ echo debug_result('',false);
}
else {
- $status['read_config'] = 'true';
- echo " <span class=\"ok\">OK</span> ";
+ echo debug_result('',true);
}
?>
]
@@ -111,12 +109,10 @@ if (INSTALL != '1') { exit; }
<?php
$results = @parse_ini_file($configfile);
if (!check_config_values($results)) {
- $status['parse_config'] = 'false';
- echo " <span class=\"notok\">ERROR</span> ";
+ echo debug_result('',false);
}
else {
- $status['parse_config'] = 'true';
- echo " <span class=\"ok\">OK</span> ";
+ echo debug_result('',true);
}
?>
]