| 1 | <?php |
| 2 | /* |
| 3 | * Harvie's JuKe!Box configuration file. |
| 4 | * |
| 5 | * Quick Instalation HowTo: |
| 6 | * 1.) Change $passwd and $music_dir_url! |
| 7 | * 2.) Rename to: _config.php |
| 8 | * 3.) Place your music into the $music_dir ($music_dir_url must lead to the same directory on web) |
| 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 JuKe!Box'; //Title of jukebox |
| 14 | $music_dir = './music'; //Local path to directory with music |
| 15 | $music_dir_url = 'http://your-server.net/jukebox/music'; //URL path to the same directory CHANGE IT! |
| 16 | $cache_passwd = 'renew123'; //You need this passwd to refresh search cache CHANGE IT! |
| 17 | //Login |
| 18 | $realm = 'music';//Banner |
| 19 | $user = 'music';//User |
| 20 | $passwd = 'Default-Secr3t_PaSsw0rd'; //Password CHANGE IT! |
| 21 | $require_login = true; |
| 22 | //More search engines |
| 23 | /* |
| 24 | $search_engines = array_merge($search_engines, array( |
| 25 | 'Harvie\'s blog!' => 'http://blog.harvie.cz/?s=' |
| 26 | )); |
| 27 | */ |
| 28 | //Bonuses |
| 29 | if(isset($bonus_dir) && is_dir($bonus_dir)) { |
| 30 | $css_file = $bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme) |
| 31 | } |