X-Git-Url: http://git.harvie.cz/?p=mirrors%2FJukeBox.git;a=blobdiff_plain;f=example_config.php;fp=example_config.php;h=2de765b6705dd77a878237d6155e4cb7b74d0b14;hp=9b5f90df99e05b14c94c3561a7ea83d4870f4aa9;hb=2fa64919a3ceea723bf035e3c88709caaecaf389;hpb=74524fb0c86f3f45878acdf84d92294e9a8a0fce diff --git a/example_config.php b/example_config.php index 9b5f90d..2de765b 100755 --- a/example_config.php +++ b/example_config.php @@ -11,7 +11,8 @@ */ //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 +$base_url = dirname($_SERVER['SCRIPT_NAME']); //URL of this directory ("./") $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 @@ -28,5 +29,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) }