summaryrefslogtreecommitdiffstats
path: root/modules/localplay/mpd.controller.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-11 05:16:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-11 05:16:20 +0000
commit689517e332c874ac09bb41398602622a1fc36af8 (patch)
treec97a077bd164e594211ed213405eb0cfbbf77b1c /modules/localplay/mpd.controller.php
parent7327a025db941554501bbbe79c057fa308fb205c (diff)
downloadampache-689517e332c874ac09bb41398602622a1fc36af8.tar.gz
ampache-689517e332c874ac09bb41398602622a1fc36af8.tar.bz2
ampache-689517e332c874ac09bb41398602622a1fc36af8.zip
fixed preferences mostly, also fixed some genre issues and other stuff I am forgetting now
Diffstat (limited to 'modules/localplay/mpd.controller.php')
-rw-r--r--modules/localplay/mpd.controller.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php
index c002d299..c38c8a63 100644
--- a/modules/localplay/mpd.controller.php
+++ b/modules/localplay/mpd.controller.php
@@ -30,17 +30,17 @@ class AmpacheMpd {
/* Constructed variables */
- var $_mpd;
+ private $_mpd;
/**
* Constructor
* This returns the array map for the localplay object
* REQUIRED for Localplay
*/
- function AmpacheMpd() {
+ public function __construct() {
/* Do a Require Once On the needed Libraries */
- require_once(conf('prefix') . '/modules/mpd/mpd.class.php');
+ require_once Config::get('prefix') . '/modules/mpd/mpd.class.php';
} // AmpacheMpd
@@ -51,7 +51,7 @@ class AmpacheMpd {
* that this player supports and their names in this local
* class. This is a REQUIRED function
*/
- function function_map() {
+ public function function_map() {
$map = array();