diff --git a/listdir.php b/listdir.php index 4412086..7951b97 100644 --- a/listdir.php +++ b/listdir.php @@ -2,7 +2,7 @@ // do NOT append / at the end // Eg: /home/will/Downloads -$folder_base = "/home/will/Downloads"; +$folder_base = "/home/will/Music"; $items_per_page = 20; $max_results = 100; // will break; once we reach limit, -1 for no limit $motd = "get fucked"; @@ -438,7 +438,7 @@ if(is_dir($realpath)){ $range >= 0 && $range < $filesize ){ - + http_response_code(206); // partial content header("Content-Range: bytes " . $range . "-" . ($filesize - 1) . "/" . $filesize); header("Content-Length: " . $filesize - $range);