Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Update osu-stream.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lslqtz authored Sep 11, 2021
1 parent 064ab45 commit f84ba1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/osu-stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
}
$checkFile=cacheDir."/requested-{$stream}";
$jsonFile=cacheDir.'/'.filectime($checkFile)."/{$stream}.json";
$jsonFile=cacheDir.'/'.filemtime($checkFile)."/{$stream}.json";
if (!file_exists($checkFile) || !file_exists($jsonFile)) {
unlink($checkFile);
header('HTTP/1.1 503 Service Unavailable');
Expand Down

0 comments on commit f84ba1e

Please sign in to comment.