null, 'rating' => null ); $path = (array_key_exists('path', $_REQUEST)) ? $_REQUEST['path'] : ""; $prefix = (array_key_exists('prefix', $_REQUEST)) ? $_REQUEST['prefix'].'_' : "dirholder"; $player = new fileCollector(); if ($player->is_connected()) { if ($path == "") { // print '
'.get_int_text('button_file_browser').'
'; } else { directoryControlHeader($prefix); } $player->doFileBrowse($path, $prefix); } else { header("HTTP/1.1 500 Internal Server Error"); } ?>