summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-13 11:41:43 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-13 11:41:43 +0000
commit4259d662decc9f128519daf7b46d975bd72f5320 (patch)
treece0c2408b59a029b7855a70d386cda17c861942d
parent184a030cb6f063e1cd6483170d199c7de3d7e691 (diff)
downloadampache-4259d662decc9f128519daf7b46d975bd72f5320.tar.gz
ampache-4259d662decc9f128519daf7b46d975bd72f5320.tar.bz2
ampache-4259d662decc9f128519daf7b46d975bd72f5320.zip
fix show test page
-rwxr-xr-xdocs/CHANGELOG2
-rw-r--r--templates/show_test.inc.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index 4350b405..8477764f 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -4,6 +4,8 @@
--------------------------------------------------------------------------
v.3.6-Alpha1
+ - Fixed web path always returning false on /test.php
+ - Updated Man Page to fix litian problems for Debian packaging
- Fixed bug where video was registering as songs for now playing
and stats
- Add phpmailer and change ampache.cfg.php.dist
diff --git a/templates/show_test.inc.php b/templates/show_test.inc.php
index ee737d7f..dbce716f 100644
--- a/templates/show_test.inc.php
+++ b/templates/show_test.inc.php
@@ -233,7 +233,7 @@
$http_type = "http://";
}
$results['web_path'] = $http_type . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . Config::get('web_path');
- if ($status['parse_config']) {
+ if (check_config_values($results)) {
echo "&nbsp;&nbsp;&nbsp;<img src=\"" . $results['web_path'] ."/images/icon_enable.png\" />&nbsp;&nbsp;&nbsp;";
}
else {