summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2005-07-15 22:16:19 +0000
committerxgizzmo <xgizzmo@ampache>2005-07-15 22:16:19 +0000
commit52e4450b38bcac674d4af4b497b029647b307b4a (patch)
tree991cd74c4cd2c2ba7d828df75273a18d18449586 /index.php
parent0a3df5cbcfc10a0f18e9da311d887eb00fd6fbf1 (diff)
downloadampache-52e4450b38bcac674d4af4b497b029647b307b4a.tar.gz
ampache-52e4450b38bcac674d4af4b497b029647b307b4a.tar.bz2
ampache-52e4450b38bcac674d4af4b497b029647b307b4a.zip
fixed missing mpd controls
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/index.php b/index.php
index abf7d4fb..6101c7f3 100644
--- a/index.php
+++ b/index.php
@@ -28,9 +28,10 @@
require_once("modules/init.php");
/* We need to attempt to init the mpd object */
-if (conf('mpd_method') == 'file') {
- $myMpd = init_mpd();
-}
+//if (conf('mpd_method') == 'file') {
+//if ($user->prefs['play_type'] == 'mpd') {
+// $myMpd = init_mpd();
+//}
show_template('header');
show_menu_items('Home');
@@ -78,7 +79,7 @@ if (conf('refresh_limit') > 0) { show_template('javascript_refresh'); }
<?php
if ($user->prefs['play_type'] == 'mpd') {
show_mpd_pl();
- $myMpd = init_mpd();
+// $myMpd = init_mpd();
}
?>
</tr>