summaryrefslogtreecommitdiffstats
path: root/modules/localplay/httpq.controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/localplay/httpq.controller.php')
-rw-r--r--modules/localplay/httpq.controller.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/localplay/httpq.controller.php b/modules/localplay/httpq.controller.php
index b6d26445..184d6e81 100644
--- a/modules/localplay/httpq.controller.php
+++ b/modules/localplay/httpq.controller.php
@@ -30,20 +30,19 @@ class AmpacheHttpq {
/* Constructed variables */
- var $_httpq;
+ private $_httpq;
/**
* Constructor
* This returns the array map for the localplay object
* REQUIRED for Localplay
*/
- function AmpacheHttpq() {
+ public function __construct() {
/* Do a Require Once On the needed Libraries */
- require_once(conf('prefix') . '/modules/httpq/httpqplayer.class.php');
-
- } // AmpacheHttpq
+ require_once Config::get('prefix') . '/modules/httpq/httpqplayer.class.php';
+ } // Constructor
/**
* function_map