Create FUNDING.yml
[mirrors/JukeBox.git] / example_config.php
CommitLineData
1c6591f3
H
1<?php
2/*
3 * Harvie's JuKe!Box configuration file.
4 *
5 * Quick Instalation HowTo:
1bbbe5ac 6 * 1.) Change $users array and $music_dir_url!
8cc7aad0 7 * 2.) Rename this file to: _config.php (underscore matters)
1bbbe5ac 8 * 3.) Place your music into the $music_dir ($music_dir_url must point to the same directory through webserver)
1c6591f3
H
9 * 4.) create file jbx/cache.db writeable by webserver (set permissions)
10 * 5.) Refresh search database using $cache_passwd on search page
11 */
12//Config-basic
13$title = 'Harvie\'s&nbsp;JuKe!Box'; //Title of jukebox
2fa64919 14$music_dir = 'music'; //Local path to directory with music
1c6591f3 15$music_dir_url = 'http://your-server.net/jukebox/music'; //URL path to the same directory CHANGE IT!
d1c6fd3d 16$cache_passwd = ''; //You need this passwd to refresh search cache CHANGE IT!
1c6591f3 17//Login
4641c2f0 18$realm = 'music'; //HTTP Auth Banner
1bbbe5ac
H
19$users = array( //List of 'user' => 'password' pairs
20 'music' => 'Default-Secr3t_PaSsw0rd' //CHANGE IT!
4641c2f0
H
21);
22$require_login = true;
1bbbe5ac 23//Additional search engines
1c6591f3
H
24/*
25$search_engines = array_merge($search_engines, array(
4641c2f0 26 'Harvie\'s blog!' => 'http://blog.harvie.cz/?s='
1c6591f3
H
27));
28*/
29//Bonuses
30if(isset($bonus_dir) && is_dir($bonus_dir)) {
0e21eaf8 31 $css_file = $base_url.$bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme)
1c6591f3 32}
This page took 0.141622 seconds and 4 git commands to generate.