fixed http_auth.php encoding and version
[mirrors/JukeBox.git] / example_config.php
index 302d87fe39431a1a38d155d0401bfc7a8d553eac..6ad41bdf395b8efcd33412e30463f0ffc7ab7622 100755 (executable)
@@ -15,17 +15,18 @@ $music_dir =            './music'; //Local path to directory with music
 $music_dir_url =        'http://your-server.net/jukebox/music'; //URL path to the same directory CHANGE IT!
 $cache_passwd =         'renew123'; //You need this passwd to refresh search cache CHANGE IT!
 //Login
-$realm =               'music';//Banner
-$user =                        'music';//User
-$passwd =              'Default-Secr3t_PaSsw0rd'; //Password CHANGE IT!
-$require_login =       true;
+$realm =                'music'; //HTTP Auth Banner
+$users = array(         //List of 'user' => 'password' touples CHANGE IT!
+                        'music' => 'Default-Secr3t_PaSsw0rd'
+);
+$require_login =        true;
 //More search engines
 /*
 $search_engines = array_merge($search_engines, array(
-        'Harvie\'s blog!'                   => 'http://blog.harvie.cz/?s='
+                       'Harvie\'s blog!' => 'http://blog.harvie.cz/?s='
 ));
 */
 //Bonuses
 if(isset($bonus_dir) && is_dir($bonus_dir)) {
-       $css_file =             $bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme)
+       $css_file =     $bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme)
 }
This page took 0.105491 seconds and 4 git commands to generate.