summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-26 05:25:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-26 05:25:17 +0000
commitc46c138146831ca85a3194439de149094ad53dd5 (patch)
tree08a813fe18fcf5aa6cc5574884841759c5d26312 /config
parent0650083e4c69811c949ffb79cd0b298b3e05a89e (diff)
downloadampache-c46c138146831ca85a3194439de149094ad53dd5.tar.gz
ampache-c46c138146831ca85a3194439de149094ad53dd5.tar.bz2
ampache-c46c138146831ca85a3194439de149094ad53dd5.zip
added config migrator and the code to detect a bad config
Diffstat (limited to 'config')
-rw-r--r--config/ampache.cfg.php.dist9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/ampache.cfg.php.dist b/config/ampache.cfg.php.dist
index 91e98847..d660c940 100644
--- a/config/ampache.cfg.php.dist
+++ b/config/ampache.cfg.php.dist
@@ -7,7 +7,7 @@
; if this config file is up to date
; this is compared against a value hardcoded
; into the init script
-config_version = 2
+config_version = 4
;###################
; Path Vars #
@@ -102,6 +102,13 @@ catalog_file_pattern = "mp3|mpc|m4p|m4a|mp4|aac|ogg|rm|wma|asf|flac|spx|ra|ape|s
; DEFAULT: true
require_session = "true"
+; Multiple Logins
+; Added by Vlet 07/25/07
+; When this setting is enabled a user may only be logged in from a single
+; IP address at any one time, this is to prevent sharing of accounts
+; DEFAULT: false
+;prevent_multiple_logins = "false"
+
; Downsample Remote
; If this is set to true and access control is on any users who are not
; coming from a defined localnet will be automatically downsampled