diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-09 05:46:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-09 05:46:40 +0000 |
commit | 78590d7d512ada604987fdcc9c31a8c74591f64b (patch) | |
tree | 00e7cbb628f6c099cc51df7a86f85be3c5d5ca42 /lib/localplay.lib.php | |
parent | d885efaed4bdfbac1df06e0ff3a4fd0d46701b96 (diff) | |
download | ampache-78590d7d512ada604987fdcc9c31a8c74591f64b.tar.gz ampache-78590d7d512ada604987fdcc9c31a8c74591f64b.tar.bz2 ampache-78590d7d512ada604987fdcc9c31a8c74591f64b.zip |
fixed a problem with preferences showing disabled localplay modules, included sajax library
Diffstat (limited to 'lib/localplay.lib.php')
-rw-r--r-- | lib/localplay.lib.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/localplay.lib.php b/lib/localplay.lib.php index 523a5548..bd73853b 100644 --- a/lib/localplay.lib.php +++ b/lib/localplay.lib.php @@ -160,7 +160,10 @@ function get_localplay_controllers() { if (!is_dir($file)) { /* Get the base name, then get everything before .controller.php */ $filename = basename($file,'.controller.php'); - $results[] = $filename; + /* Make sure that it's currently enabled */ + if (verify_localplay_preferences($filename)) { + $results[] = $filename; + } } } // end while |