diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-14 07:38:22 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-14 07:38:22 +0000 |
commit | 1411a26beabed49bb5e9ac8c5cf29dd594fff578 (patch) | |
tree | 5b75eec7c9cad949b85b8330f3141b03eab34646 /admin | |
parent | 421805ce6ab1d3b2e0a16346c544eadf2d44f8be (diff) | |
download | ampache-1411a26beabed49bb5e9ac8c5cf29dd594fff578.tar.gz ampache-1411a26beabed49bb5e9ac8c5cf29dd594fff578.tar.bz2 ampache-1411a26beabed49bb5e9ac8c5cf29dd594fff578.zip |
one last little change to auto-enable localplay when enabling a localplay module
Diffstat (limited to 'admin')
-rw-r--r-- | admin/modules.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/modules.php b/admin/modules.php index b7756b1c..f53a4130 100644 --- a/admin/modules.php +++ b/admin/modules.php @@ -41,6 +41,11 @@ switch ($_REQUEST['action']) { } // Install it! $localplay->install(); + + // Go ahead and enable Localplay (Admin->System) as we assume they want to do that + // if they are enabling this + Prefernece::update('allow_localplay_playback','-1','1'); + header("Location:" . Config::get('web_path') . '/admin/modules.php?action=show_localplay'); break; case 'confirm_uninstall_localplay': |