diff options
author | xgizzmo <xgizzmo@ampache> | 2005-08-02 03:13:54 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2005-08-02 03:13:54 +0000 |
commit | ba04cd2729b62daa1a7aa2d35814992c68c38430 (patch) | |
tree | 9f3dbe0bc608343c10dd351ad4ae46440a065a41 /play/index.php | |
parent | e096ef364e823424a56f7c4f8562cad8292b01aa (diff) | |
download | ampache-ba04cd2729b62daa1a7aa2d35814992c68c38430.tar.gz ampache-ba04cd2729b62daa1a7aa2d35814992c68c38430.tar.bz2 ampache-ba04cd2729b62daa1a7aa2d35814992c68c38430.zip |
Fixed streaming if use_auth = no
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php index 660ae9d4..f32cc27b 100644 --- a/play/index.php +++ b/play/index.php @@ -108,7 +108,7 @@ if ( isset( $uid ) ) { echo "Error: User Disabled"; exit; } - if (!$user->username && !$user->is_xmlrpc()) { + if ( conf('use_auth') AND !$user->username AND !$user->is_xmlrpc() ) { if (conf('debug')) { log_event($user->username,' user_not_found ',"Error $user->username not found, stream access denied"); } |