X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=example_config.php;h=7c5c6e1f030bebb18b7bb2b69b53a75f423c825d;hb=HEAD;hp=19a21a27b667d2752a97f390f42212f1f59f9e8e;hpb=1bbbe5ac2b423f46130ea57a7f8f14d702c70484;p=mirrors%2FJukeBox.git diff --git a/example_config.php b/example_config.php index 19a21a2..7c5c6e1 100755 --- a/example_config.php +++ b/example_config.php @@ -4,16 +4,16 @@ * * Quick Instalation HowTo: * 1.) Change $users array and $music_dir_url! - * 2.) Rename this file to: _config.php + * 2.) Rename this file to: _config.php (underscore matters) * 3.) Place your music into the $music_dir ($music_dir_url must point to the same directory through webserver) * 4.) create file jbx/cache.db writeable by webserver (set permissions) * 5.) Refresh search database using $cache_passwd on search page */ //Config-basic $title = 'Harvie\'s JuKe!Box'; //Title of jukebox -$music_dir = './music'; //Local path to directory with music +$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! +$cache_passwd = ''; //You need this passwd to refresh search cache CHANGE IT! //Login $realm = 'music'; //HTTP Auth Banner $users = array( //List of 'user' => 'password' pairs @@ -28,5 +28,5 @@ $search_engines = array_merge($search_engines, array( */ //Bonuses if(isset($bonus_dir) && is_dir($bonus_dir)) { - $css_file = $bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme) + $css_file = $base_url.$bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme) }