X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=704dc91d92c588a45f082f101863df8992807c04;hb=HEAD;hp=a17d7a30a1565b8d6eaa57e28137d8adc5d03fec;hpb=e6edcf4245cbb38ffcaac57e33c5532155567428;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index a17d7a3..704dc91 100755 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ $title = 'Harvie\'s JuKe!Box'; //Title of jukebox $music_dir = 'music'; //Local path to directory with music $base_url = preg_replace('/[^\/]*$/', '', $_SERVER['SCRIPT_NAME']); //URL of this directory (always ends with slash) $music_dir_url = 'http://your-server.net/jukebox/music'; //URL path to the same directory -$cache_passwd = 'renew123'; //You need this passwd to refresh search cache +$cache_passwd = ''; //You need this passwd to refresh search cache $sort = 3; //Sort? 0 = none, 1 = playlists, 2 = 1+listings; 3 = 2+search-EXPERIMENTAL! (sorting could eat lot of memory) $access_limit = 40; //How many files could be accessed without using cache (while searching) @@ -58,7 +58,7 @@ $search_engines = array( $flash_player_swf = $bonus_dir.'/player.swf'; //path to musicplayer $flash_player_frame = 'playframe-show'; //FlashPlayer Target (playframe-show|playframe-hide) - usefull for compatibility with old music player $flash_player_options = '?bg=000099&loader=000000&tracker=AAAAFF&skip=FFFFFF' //.'&leftbg=000077&rightbg=000077&righticon=999999' - .'&autostart=yes&initialvolume=100&soundFile='; //& arguments (urlencoded song url will be added) + .'&autostart=yes&initialvolume=100&buffer=30&animation=no&soundFile='; //& arguments (urlencoded song url will be added) //Security error_reporting(0); //This will disable error reporting, wich can pass sensitive data to users @@ -223,10 +223,11 @@ function render_tr_playframe_show() { if($GLOBALS['flash_player_frame'] == 'playframe-show' && $GLOBALS['useflash']) { ?> S - +