summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-15 22:23:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-15 22:23:20 +0000
commit389e5eb1e4f5127c43d72045903d93a6b49f24d8 (patch)
tree420715e581f48b6dd83adb1c54b05555483402de /index.php
parent52e4450b38bcac674d4af4b497b029647b307b4a (diff)
downloadampache-389e5eb1e4f5127c43d72045903d93a6b49f24d8.tar.gz
ampache-389e5eb1e4f5127c43d72045903d93a6b49f24d8.tar.bz2
ampache-389e5eb1e4f5127c43d72045903d93a6b49f24d8.zip
knocking it up a notch
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/index.php b/index.php
index 6101c7f3..15010eee 100644
--- a/index.php
+++ b/index.php
@@ -28,10 +28,9 @@
require_once("modules/init.php");
/* We need to attempt to init the mpd object */
-//if (conf('mpd_method') == 'file') {
-//if ($user->prefs['play_type'] == 'mpd') {
-// $myMpd = init_mpd();
-//}
+if (conf('mpd_method') == 'file' OR $user->prefs['play_type'] == 'mpd') {
+ $myMpd = init_mpd();
+}
show_template('header');
show_menu_items('Home');
@@ -79,7 +78,6 @@ if (conf('refresh_limit') > 0) { show_template('javascript_refresh'); }
<?php
if ($user->prefs['play_type'] == 'mpd') {
show_mpd_pl();
-// $myMpd = init_mpd();
}
?>
</tr>